1 /*
2 { dg-options "-ftrack-macro-expansion=2" }
3 { dg-do compile }
4 */
5
6 struct x {
7 int i;
8 };
9 struct x x;
10
11 #define TEST(X) x.##X /* { dg-error "pasting\[^\n\r\]*does not give\[^\n\r\]*token" } */
12
foo(void)13 void foo (void)
14 {
15 TEST(i) = 0;
16 }
17