Debian Codegraph @

gcc/testsuite/gcc.dg/cpp/paste15.c

raw
1 /* PR preprocessor/20077 */
2 /* { dg-do preprocess } */
3
4 #define a a ## ## /* { dg-error "end of a macro expansion" } */
5 #define b() b ## ## /* { dg-error "end of a macro expansion" } */
6 #define c c ## /* { dg-error "end of a macro expansion" } */
7 #define d() d ## /* { dg-error "end of a macro expansion" } */
8
9
10 #define e ## ## e /* { dg-error "end of a macro expansion" } */
11 #define f() ## ## f /* { dg-error "end of a macro expansion" } */
12 #define g ## g /* { dg-error "end of a macro expansion" } */
13 #define h() ## h /* { dg-error "end of a macro expansion" } */
14 #define i ## /* { dg-error "end of a macro expansion" } */
15 #define j() ## /* { dg-error "end of a macro expansion" } */