summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/044-if-1-else.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/044-if-1-else.c')
-rw-r--r--src/glsl/glcpp/tests/044-if-1-else.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/044-if-1-else.c b/src/glsl/glcpp/tests/044-if-1-else.c
new file mode 100644
index 00000000000..28dfc25c6f0
--- /dev/null
+++ b/src/glsl/glcpp/tests/044-if-1-else.c
@@ -0,0 +1,7 @@
+success_1
+#if 1
+success_2
+#else
+failure
+#endif
+success_3