summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-05-12 12:51:31 -0700
committerCarl Worth <cworth@cworth.org>2010-05-12 13:11:23 -0700
commit7bdd1f36d9f238e6af4846d46b9dd30fffc772a5 (patch)
tree5480ef788694b9cc5758ac597886cf67afa37819
parent39cd7c2f2e2d27a93ad63191f02adb56be31c0ce (diff)
Add test for #undef.
Which hasn't been implemented yet, so this test fails.
-rw-r--r--tests/009-undef.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/009-undef.c b/tests/009-undef.c
new file mode 100644
index 0000000000..3fc1fb4424
--- /dev/null
+++ b/tests/009-undef.c
@@ -0,0 +1,4 @@
+#define foo 1
+foo
+#undef foo
+foo