diff options
-rw-r--r-- | tests/all.tests | 2 | ||||
-rw-r--r-- | tests/glslparsertest/shaders/CorrectVersion1.V110.frag | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/all.tests b/tests/all.tests index 23b5d4a14..d4529a384 100644 --- a/tests/all.tests +++ b/tests/all.tests @@ -399,7 +399,7 @@ add_glslparsertest('CorrectSwizzle2.vert', 'pass') add_glslparsertest('CorrectSwizzle3.frag', 'pass') add_glslparsertest('CorrectUnsizedArray.frag', 'pass') add_glslparsertest('CorrectVersion.V110.frag', 'pass') -add_glslparsertest('CorrectVersion1.V110.frag', 'pass') +add_glslparsertest('CorrectVersion1.V110.frag', 'fail') add_glslparsertest('CorrectReservedWords.frag', 'pass') add_glslparsertest('CorrectScalarVectorExpressions.frag', 'pass') add_glslparsertest('CGDataTypes.frag', 'fail') diff --git a/tests/glslparsertest/shaders/CorrectVersion1.V110.frag b/tests/glslparsertest/shaders/CorrectVersion1.V110.frag index 831653ddd..1dda65af1 100644 --- a/tests/glslparsertest/shaders/CorrectVersion1.V110.frag +++ b/tests/glslparsertest/shaders/CorrectVersion1.V110.frag @@ -1,9 +1,7 @@ -/* Two version statements are allowed today, in future we may want to raise a - warning or error */ +/* Only one version statement is allowed; two should raise an error. */ #version 110 #version 110 - void main() { gl_FragColor = vec4(1); |