Add test case to define, undef, and then again define a macro.
authorCarl Worth <cworth@cworth.org>
Wed, 12 May 2010 20:14:08 +0000 (13:14 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 12 May 2010 20:14:08 +0000 (13:14 -0700)
Happily, this is another test case that works just fine without any
additional code.

tests/010-undef-re-define.c [new file with mode: 0644]

diff --git a/tests/010-undef-re-define.c b/tests/010-undef-re-define.c
new file mode 100644 (file)
index 0000000..32ff737
--- /dev/null
@@ -0,0 +1,6 @@
+#define foo 1
+foo
+#undef foo
+foo
+#define foo 2
+foo