cl: Don't use device_infos if num_device_infos == 0
[piglit.git] / tests / glslparsertest / shaders / struct2.frag
blob7fdef6e8d4b032ce57ba587cc50324c910244552
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.10
4 //
5 // [end config]
7 struct s {
8     int i = 1.0;  // struct members cannot be initialized at the time of structure declaration
9 } s1;
11 void main()