diff options
author | Carl Worth <cworth@cworth.org> | 2010-05-12 13:14:08 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-05-12 13:14:08 -0700 |
commit | a68e668b17a00ed5714cdb1e7809b7ba4522d89d (patch) | |
tree | b3229ac3d5189fe13463274c65c67ea69525a140 /tests | |
parent | cd27e6413a683d3ba1763ec68edfb1ff13193fc3 (diff) |
Add test case to define, undef, and then again define a macro.
Happily, this is another test case that works just fine without any
additional code.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/010-undef-re-define.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/010-undef-re-define.c b/tests/010-undef-re-define.c new file mode 100644 index 0000000000..32ff73798b --- /dev/null +++ b/tests/010-undef-re-define.c @@ -0,0 +1,6 @@ +#define foo 1 +foo +#undef foo +foo +#define foo 2 +foo |