OSDN Git Service

2010-04-14 Manuel López-Ibáñez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / cpp / pr29612-2.c
1 /* PR preprocessor/29612 */
2 /* { dg-do preprocess } */
3 /* { dg-options "-Wtraditional" } */
4
5 # 6 "pr29612-2.c"
6
7 #if 1U /* { dg-warning "traditional C rejects" "numeric constant suffix" } */
8 #endif
9
10 # 1 "foo.h" 1 3
11
12 #if 1U
13 #endif /* No warning in system header.  */
14
15 # 16 "pr29612-2.c" 2
16
17 #if 1U /* { dg-warning "traditional C rejects" "numeric constant suffix" } */
18 #endif