summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glcpp/tests/048-if-nested.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/glcpp/tests/048-if-nested.c')
-rw-r--r--src/compiler/glsl/glcpp/tests/048-if-nested.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/compiler/glsl/glcpp/tests/048-if-nested.c b/src/compiler/glsl/glcpp/tests/048-if-nested.c
new file mode 100644
index 00000000000..fc4679c3be4
--- /dev/null
+++ b/src/compiler/glsl/glcpp/tests/048-if-nested.c
@@ -0,0 +1,11 @@
+success_1
+#if 0
+failure_1
+#if 1
+failure_2
+#else
+failure_3
+#endif
+failure_4
+#endif
+success_2