1/* Test for -Wtraditional warnings on integer constant suffixes.
2   Note, gcc should omit these warnings in system header files.
3   By Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 8/22/2000.  */
4/* { dg-do preprocess } */
5/* { dg-options "-Wtraditional" } */
6
7#if 1U /* { dg-warning "traditional C rejects" "numeric constant suffix" } */
8#endif
9#if 1u /* { dg-warning "traditional C rejects" "numeric constant suffix" } */
10#endif
11#if 1L
12#endif
13#if 1l
14#endif
15
16# 17 "sys-header.h" 3
17/* We are in system headers now, no -Wtraditional warnings should issue.  */
18
19#if 1U
20#endif
21#if 1u
22#endif
23#if 1L
24#endif
25#if 1l
26#endif
27