ext_gpu_shader4: add compiler tests for everything
[piglit.git] / tests / spec / arb_shading_language_420pack / compiler / illegal-aggregate-initializer-of-scalar.frag
blob59e9b4472401456fc8cc921eee8c09eab8ceed92
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 i is not an aggregate
13     int i = { 1 };
14     gl_FragColor = vec4(1.0);