Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / paste12-2.c
blob6e2e4f1057d739ab362ad177bba7e03df88da106
1 /*
2 { dg-options "-ftrack-macro-expansion=2" }
3 { dg-do preprocess }
4 */
6 /* Test correct diagnostics when pasting in #include.
7 Source: PR preprocessor/6780. */
9 #define inc2(a,b) <##a.b> /* { dg-error "pasting \"<\" and \"stdio\" does not" } */
10 #define INC(X) inc2(X,h)
11 #include INC(stdio)