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

struct A {
	B x[1];
};

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