blob: 3e0f7b9592220986bafd7ec64c61cb108622680a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/*
{ dg-options "-ftrack-macro-expansion=0" }
{ dg-do preprocess }
*/
/* Test correct diagnostics when pasting in #include.
Source: PR preprocessor/6780. */
#define inc2(a,b) <##a.b>
#define INC(X) inc2(X,h)
#include INC(stdio) /* { dg-error "pasting \"<\" and \"stdio\" does not" } */
|