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