summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/112-no-space-operator-after-hash-elif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/112-no-space-operator-after-hash-elif.c')
-rw-r--r--src/glsl/glcpp/tests/112-no-space-operator-after-hash-elif.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/112-no-space-operator-after-hash-elif.c b/src/glsl/glcpp/tests/112-no-space-operator-after-hash-elif.c
new file mode 100644
index 00000000000..e8221bc49c3
--- /dev/null
+++ b/src/glsl/glcpp/tests/112-no-space-operator-after-hash-elif.c
@@ -0,0 +1,24 @@
+#if 0
+#elif(1)
+success
+#endif
+
+#if 0
+#elif+1
+success
+#endif
+
+#if 0
+#elif-1
+success
+#endif
+
+#if 0
+#elif!1
+success
+#endif
+
+#if 0
+#elif~1
+success
+#endif