Only allowed with GLSL 4.60.
Cc: Ilia Mirkin <[email protected]>
Signed-off-by: Samuel Pitoiset <[email protected]>
---
.../glsl-4.50/compiler/extra-semilons-at-global-scope.frag | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644
tests/spec/glsl-4.50/compiler/extra-semilons-at-global-scope.frag
diff --git a/tests/spec/glsl-4.50/compiler/extra-semilons-at-global-scope.frag
b/tests/spec/glsl-4.50/compiler/extra-semilons-at-global-scope.frag
new file mode 100644
index 000000000..29b0e1cb5
--- /dev/null
+++ b/tests/spec/glsl-4.50/compiler/extra-semilons-at-global-scope.frag
@@ -0,0 +1,12 @@
+// [config]
+// expect_result: fail
+// glsl_version: 4.50
+// [end config]
+
+#version 450
+
+uniform int i;;
+
+void main()
+{
+}
--
2.14.0
_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit