Debian Codegraph @

gcc/testsuite/gcc.dg/cpp/trad/strify.c

raw
1 /* Test whether traditional stringify works. */
2 /* { dg-do run } */
3
4 #define foo(a, b) c="a"; d="b";
5
6 extern void abort ();
7 extern void exit (int);
8
9 int main ()
10 {
11 char *c, *d;
12
13 foo (p,q);
14 if (c[0] != 'p' || d[0] != 'q')
15 abort ();
16
17 exit (0);
18 }