summaryrefslogtreecommitdiff
path: root/tests/spec
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2013-07-11 10:08:39 -0700
committerMatt Turner <mattst88@gmail.com>2013-07-11 11:04:02 -0700
commitf0625c8b4c4ceab9daf202e6d02392967656d171 (patch)
treedd480680d82f560b0e21a419697c594b50438974 /tests/spec
parent77f7692b9b0fcf6b9cdd3d68348e7e257ed0ad63 (diff)
glsl-1.10: Test that row_major is not a reserved word.
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'tests/spec')
-rw-r--r--tests/spec/glsl-1.10/compiler/row_major.frag14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/spec/glsl-1.10/compiler/row_major.frag b/tests/spec/glsl-1.10/compiler/row_major.frag
new file mode 100644
index 000000000..d90957420
--- /dev/null
+++ b/tests/spec/glsl-1.10/compiler/row_major.frag
@@ -0,0 +1,14 @@
+// [config]
+// expect_result: pass
+// glsl_version: 1.10
+// [end config]
+//
+// Check that 'row_major' is not a reserved keyword.
+
+#version 110
+
+int f()
+{
+ int row_major;
+ return 0;
+}