X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=tests%2Fglsl%2Fidentifier_conflict.glsl;h=b0cd34a6922985a1b7e6477fedb2cc44e36f7421;hp=3e10089b0f61899f0fd8e430174b8a092b8c15cf;hb=01c59fefa142fe7812db32e703bbe52a0c14a2bb;hpb=1cdd7023ea6fa85bcd28176c504d0feb98b61cae diff --git a/tests/glsl/identifier_conflict.glsl b/tests/glsl/identifier_conflict.glsl index 3e10089b..b0cd34a6 100644 --- a/tests/glsl/identifier_conflict.glsl +++ b/tests/glsl/identifier_conflict.glsl @@ -4,6 +4,7 @@ out VertexOut { vec2 texcoord; } vs_out; +vec3 normal(); vec3 normal; out VertexOut2 { @@ -22,10 +23,12 @@ vec2 texcoord() } /* Expected error: -:11: Multiple definition of 'normal' +:8: Multiple definition of 'normal' :7: Previous definition is here -:13: Multiple definition of 'texcoord' -:10: Previous definition is here -:19: Multiple definition of 'texcoord' -:10: Previous definition is here +:12: Multiple definition of 'normal' +:7: Previous definition is here +:14: Multiple definition of 'texcoord' +:11: Previous definition is here +:20: Multiple definition of 'texcoord' +:11: Previous definition is here */