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