Cc: Ian Romanick <ian.d.roman...@intel.com>
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
---
 .../compiler/extra-semilons-at-global-scope.frag        | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 
tests/spec/glsl-4.60/compiler/extra-semilons-at-global-scope.frag

diff --git a/tests/spec/glsl-4.60/compiler/extra-semilons-at-global-scope.frag 
b/tests/spec/glsl-4.60/compiler/extra-semilons-at-global-scope.frag
new file mode 100644
index 000000000..9da6ade08
--- /dev/null
+++ b/tests/spec/glsl-4.60/compiler/extra-semilons-at-global-scope.frag
@@ -0,0 +1,17 @@
+// [config]
+// expect_result: pass
+// glsl_version: 4.60
+// [end config]
+
+#version 460
+
+// From the GLSL 4.60 spec, section 1.2.1 (Summary of Changes from Revision 7
+// of GLSL Version 4.50):
+//
+//  "Private Bug 16070: Allow extra semi-colons at global scope"
+
+uniform int i;;
+
+void main()
+{
+}
-- 
2.14.0

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to