Merge to HEAD at tree-cleanup-merge-20041024 .
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / trad / strify.c
blobd97a439709c52c9c6e43fb49b1619917c283a219
1 /* Test whether traditional stringify works. */
2 /* { dg-do run } */
4 #define foo(a, b) c="a"; d="b";
6 extern void abort ();
7 extern void exit (int);
9 int main ()
11 char *c, *d;
13 foo (p,q);
14 if (c[0] != 'p' || d[0] != 'q')
15 abort ();
17 exit (0);