From: Carl Worth Date: Thu, 27 May 2010 20:44:13 +0000 (-0700) Subject: Add test for macro invocations with empty arguments. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb48fcdf9b5a5b002469ed247809fb0294d6c7a8;p=mesa.git Add test for macro invocations with empty arguments. This case was recently solved on the take-2 branch. --- diff --git a/tests/057-empty-arguments.c b/tests/057-empty-arguments.c new file mode 100644 index 00000000000..6140232865d --- /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(,)