First version committed to git
[zpugcc/jano.git] / toolchain / gcc / gcc / testsuite / gcc.dg / cpp / trad / funlike-4.c
blobfcc65a8d60db7566a2ffe08635f1c55ff42be70d
1 /* Test that undefined names evaluate to zero, that macros after a
2 funlike macro are expanded, and that if it is a '(' the funlike
3 macro is not treated as such. */
5 /* { dg-do run } */
7 extern void abort (void);
9 #define f(x) x
11 int main ()
13 #if f(1) == f /**/ (/**/1/**/)
14 int x;
15 #endif
17 x = 0;
18 if (f
19 /**/ (
20 /**/ 0/**/
21 /**/)
23 abort ();
25 return 0;