Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/cpp/paste12.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* |
2 { dg-options "-ftrack-macro-expansion=0" } | |
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> | |
10 #define INC(X) inc2(X,h) | |
11 #include INC(stdio) /* { dg-error "pasting \"<\" and \"stdio\" does not" } */ |