1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// [config] // expect_result: fail // glsl_version: 1.10 // // [end config] /* FAIL - structure name conflicts with function name */ vec4 foo(vec4 a, vec4 b) { return vec4(dot(a, b)); } struct foo { float f; int i; bool b; };