summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/pr29612-2.c
blob: fff10a843b44773e9285702240c623b57f33da6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* PR preprocessor/29612 */
/* { dg-do preprocess } */
/* { dg-options "-Wtraditional" } */

# 6 "pr29612-2.c"

#if 1U /* { dg-warning "traditional C rejects" "numeric constant suffix" } */
#endif

# 1 "foo.h" 1 3

#if 1U
#endif /* No warning in system header.  */

# 16 "pr29612-2.c" 2

#if 1U /* { dg-warning "traditional C rejects" "numeric constant suffix" } */
#endif