1 /*
2    { dg-options "-ftrack-macro-expansion=2" }
3    { dg-do preprocess }
4  */
5 
6 /* Test correct diagnostics when pasting in #include.
7    Source: PR preprocessor/6780.  */
8 
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)
12