summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glcpp/tests/140-null-directive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/glcpp/tests/140-null-directive.c')
-rw-r--r--src/compiler/glsl/glcpp/tests/140-null-directive.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/compiler/glsl/glcpp/tests/140-null-directive.c b/src/compiler/glsl/glcpp/tests/140-null-directive.c
new file mode 100644
index 00000000000..1dcb26ef8b9
--- /dev/null
+++ b/src/compiler/glsl/glcpp/tests/140-null-directive.c
@@ -0,0 +1,9 @@
+/* GLSL accepts a null directive. Let's test that in several variations: */
+#
+ #
+/*....*/#/*....*/
+ /*..*/ # /*..*/
+#//...
+ # //...
+/*....*/#/**///..
+ /*..*/ # /**/ //