X-Git-Url: https://git.sur5r.net/?p=cc65;a=blobdiff_plain;f=test%2Fref%2Fmacro.c;h=c1346b93942d13dbcd76b80d1888c2a3c2cb0648;hp=1650b98db2fd39ac6e774e6f4e0a2917be73e469;hb=74455508314bc2b007e812ec5f9429496b9fbd5f;hpb=b9ea77b18588d24a8bc84f10db7c73f5fceca4f5 diff --git a/test/ref/macro.c b/test/ref/macro.c index 1650b98db..c1346b939 100644 --- a/test/ref/macro.c +++ b/test/ref/macro.c @@ -14,17 +14,17 @@ unsigned long a=3; unsigned long _func(unsigned long x,unsigned long y) { - printf("x:%ld y:%ld\n",x,y); - return 0; + printf("x:%ld y:%ld\n",x,y); + return 0; } -#define func(x,y) _func(x,y) +#define func(x,y) _func(x,y) int main(void) { - fs= func( (fd/a) , func(2,0x0082c90f) ); - printf("fs:%ld\n",fs); - fs=_func( (fd/a) , _func(2,0x0082c90f) ); - printf("fs:%ld\n",fs); - return 0; + fs= func( (fd/a) , func(2,0x0082c90f) ); + printf("fs:%ld\n",fs); + fs=_func( (fd/a) , _func(2,0x0082c90f) ); + printf("fs:%ld\n",fs); + return 0; }