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