comparison gcc/testsuite/gcc.dg/cpp/macro4.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* Copyright (C) 2000 Free Software Foundation, Inc. */
2
3 /* { dg-do preprocess } */
4
5 /* Test source Neil Booth. */
6
7 #define glue(x, y) x ## y
8 #define xglue(x, y) glue (x, y)
9
10 /* Should expand to glue (1, 2), then 12. */
11 #if glue (xgl, ue) (1, 2) != 12
12 #error glue macro
13 #endif