summaryrefslogtreecommitdiff
path: root/glcpp/tests/010-undef-re-define.c
diff options
context:
space:
mode:
Diffstat (limited to 'glcpp/tests/010-undef-re-define.c')
-rw-r--r--glcpp/tests/010-undef-re-define.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/glcpp/tests/010-undef-re-define.c b/glcpp/tests/010-undef-re-define.c
new file mode 100644
index 0000000000..32ff73798b
--- /dev/null
+++ b/glcpp/tests/010-undef-re-define.c
@@ -0,0 +1,6 @@
+#define foo 1
+foo
+#undef foo
+foo
+#define foo 2
+foo