* gcc.dg/predict-12.c: New testcase.
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / 19990407-1.c
blobd6da8d65689f70af628c3e576fb5745853419603
1 /* Regression test for a cpplib macro-expansion bug where
2 `@' becomes `@@' when stringified. */
4 /* { dg-do run } */
6 #include <string.h>
7 #include <stdlib.h>
9 #define STR(x) #x
11 char *a = STR(@foo), *b = "@foo";
13 int
14 main(void)
16 if (strcmp (a, b))
17 abort ();
18 return 0;