glsl: test loop unroll with uint overflow
[piglit.git] / tests / spec / arb_shading_language_420pack / compiler / illegal-aggregate-initializer-array-too-few-elements.frag
blob0489247707f0cc490d81368f182e1b2cf592d9f5
1 /* [config]
2  * expect_result: fail
3  * glsl_version: 1.30
4  * require_extensions: GL_ARB_shading_language_420pack
5  * [end config]
6  */
8 #version 130
9 #extension GL_ARB_shading_language_420pack: enable
11 void main() {
12     // Illegal since a has 2 elements, but only 1 element given as initializer
13     float a[2] = { 3.4 };
14     gl_FragColor = vec4(1.0);