summaryrefslogtreecommitdiff
path: root/tests/spec/glsl-1.10/compiler/declarations/bad-array-type-global.frag
blob: 7560afcc5d4bdd9fbebac8975d44af10229ee44b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// [config]
// expect_result: fail
// glsl_version: 1.10
// [end config]
//
// Compilation should fail because the type 'B' is unknown.
//
// Reproduces Mesa bugzilla #33313.

B x[1];

void main() { gl_FragColor = vec4(1.0); }