projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd27e64
)
Add test case to define, undef, and then again define a macro.
author
Carl Worth
<cworth@cworth.org>
Wed, 12 May 2010 20:14:08 +0000
(13:14 -0700)
committer
Carl 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]
patch
|
blob
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
+++ b/
tests/010-undef-re-define.c
@@ -0,0
+1,6
@@
+#define foo 1
+foo
+#undef foo
+foo
+#define foo 2
+foo