From: Carl Worth Date: Wed, 12 May 2010 20:14:08 +0000 (-0700) Subject: Add test case to define, undef, and then again define a macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a68e668b17a00ed5714cdb1e7809b7ba4522d89d;p=mesa.git 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. --- diff --git a/tests/010-undef-re-define.c b/tests/010-undef-re-define.c new file mode 100644 index 00000000000..32ff73798b1 --- /dev/null +++ b/tests/010-undef-re-define.c @@ -0,0 +1,6 @@ +#define foo 1 +foo +#undef foo +foo +#define foo 2 +foo