OSDN Git Service

Add test for macro invocations with empty arguments.
authorCarl Worth <cworth@cworth.org>
Thu, 27 May 2010 20:44:13 +0000 (13:44 -0700)
committerCarl 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]

diff --git a/tests/057-empty-arguments.c b/tests/057-empty-arguments.c
new file mode 100644 (file)
index 0000000..6140232
--- /dev/null
@@ -0,0 +1,6 @@
+#define zero() success
+zero()
+#define one(x) success
+one()
+#define two(x,y) success
+two(,)