* gcc.dg/predict-12.c: New testcase.
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / paste15.c
blob9d4ec36315c0fb1e38332d7cbf4417f6287a613c
1 /* PR preprocessor/20077 */
2 /* { dg-do preprocess } */
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" } */
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" } */