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