From: Carl Worth Date: Fri, 14 May 2010 23:58:00 +0000 (-0700) Subject: Add test with extra whitespace in macro defintions and invocations. X-Git-Tag: android-x86-2.2~2279^2~625^2~100^2~57 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4eb2ccf261f739ad9b91455f28c1dece573a30d6;p=android-x86%2Fexternal-mesa.git Add test with extra whitespace in macro defintions and invocations. This whitespace is not dealt with in an elegant way yet so this test does not pass currently. --- diff --git a/tests/023-define-extra-whitespace.c b/tests/023-define-extra-whitespace.c new file mode 100644 index 00000000000..375355a17d9 --- /dev/null +++ b/tests/023-define-extra-whitespace.c @@ -0,0 +1,8 @@ +#define noargs() 1 +# define onearg(foo) foo + # define twoargs( x , y ) x y + # define threeargs( a , b , c ) a b c +noargs ( ) + onearg ( 2 ) + twoargs ( 3 , 4 ) +threeargs ( 5 , 6 , 7 )