summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/080-if-without-expression.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/080-if-without-expression.c')
-rw-r--r--src/glsl/glcpp/tests/080-if-without-expression.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/080-if-without-expression.c b/src/glsl/glcpp/tests/080-if-without-expression.c
new file mode 100644
index 00000000000..a27ba36a366
--- /dev/null
+++ b/src/glsl/glcpp/tests/080-if-without-expression.c
@@ -0,0 +1,4 @@
+/* Error message for unskipped #if with no expression. */
+#if
+#endif
+