summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/076-elif-undef-nested.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/076-elif-undef-nested.c')
-rw-r--r--src/glsl/glcpp/tests/076-elif-undef-nested.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/076-elif-undef-nested.c b/src/glsl/glcpp/tests/076-elif-undef-nested.c
new file mode 100644
index 00000000000..ebd550ed005
--- /dev/null
+++ b/src/glsl/glcpp/tests/076-elif-undef-nested.c
@@ -0,0 +1,5 @@
+#ifdef UNDEF
+#if UNDEF == 4
+#elif UNDEF == 5
+#endif
+#endif