view gcc/testsuite/gcc.dg/cpp/pr29612-2.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* 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