projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
602a347
)
Add test for macro invocations with empty arguments.
author
Carl Worth
<cworth@cworth.org>
Thu, 27 May 2010 20:44:13 +0000
(13:44 -0700)
committer
Carl Worth
<cworth@cworth.org>
Thu, 27 May 2010 20:44:13 +0000
(13:44 -0700)
This case was recently solved on the take-2 branch.
tests/057-empty-arguments.c
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/057-empty-arguments.c
b/tests/057-empty-arguments.c
new file mode 100644
(file)
index 0000000..
6140232
--- /dev/null
+++ b/
tests/057-empty-arguments.c
@@ -0,0
+1,6
@@
+#define zero() success
+zero()
+#define one(x) success
+one()
+#define two(x,y) success
+two(,)