aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/073-if-in-ifdef.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-08-01 11:40:07 -0700
committerEric Anholt <[email protected]>2010-08-01 11:40:07 -0700
commit93b10bd353e98670b627873e1da130c789646a4e (patch)
tree882401ab03b68dcea592cebb086bf5a845d10086 /src/glsl/glcpp/tests/073-if-in-ifdef.c
parentf6b03f323500c71fc20c0d64c618d9aa73ced5b4 (diff)
glcpp: Add a testcase for the failure in compiling xonotic's shader.
gcc and mesa master agree that this is OK.
Diffstat (limited to 'src/glsl/glcpp/tests/073-if-in-ifdef.c')
-rw-r--r--src/glsl/glcpp/tests/073-if-in-ifdef.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/073-if-in-ifdef.c b/src/glsl/glcpp/tests/073-if-in-ifdef.c
new file mode 100644
index 00000000000..b9155b521e0
--- /dev/null
+++ b/src/glsl/glcpp/tests/073-if-in-ifdef.c
@@ -0,0 +1,4 @@
+#if UNDEF
+#if UNDEF > 1
+#endif
+#endif