summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glcpp/tests/009-undef.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/glcpp/tests/009-undef.c')
-rw-r--r--src/compiler/glsl/glcpp/tests/009-undef.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/glsl/glcpp/tests/009-undef.c b/src/compiler/glsl/glcpp/tests/009-undef.c
new file mode 100644
index 00000000000..3fc1fb44243
--- /dev/null
+++ b/src/compiler/glsl/glcpp/tests/009-undef.c
@@ -0,0 +1,4 @@
+#define foo 1
+foo
+#undef foo
+foo