* gcc.dg/predict-12.c: New testcase.
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / paste18.c
blob2888144cb3bd82c0143da4eb3f3ab2a25d93fa5b
1 /*
2 { dg-options "-ftrack-macro-expansion=2" }
3 { dg-do compile }
4 */
6 struct x {
7 int i;
8 };
9 struct x x;
11 #define TEST(X) x.##X /* { dg-error "pasting\[^\n\r\]*does not give\[^\n\r\]*token" } */
13 void foo (void)
15 TEST(i) = 0;