1 /* Copyright (C) 2001 Free Software Foundation, Inc. */
3 /* { dg-do compile } */
4 /* { dg-options "-std=gnu99 -pedantic -Wtraditional" } */
6 /* Tests diagnostics are suppressed for some macros defined in system
9 /* Source: Neil Booth, 15 Jan 2001. */
15 # 16 "system.h" 1 3 /* { dg-warning "followed by integer" } */
26 int u1 = uint; /* { dg-warning "traditional C rejects" } */
27 int u2 = sys_uint; /* { dg-bogus "traditional C rejects" } */
28 float f1 = fl; /* { dg-warning "traditional C rejects" } */
29 float f2 = sys_fl; /* { dg-bogus "traditional C rejects" } */
30 long double ld1 = ld; /* { dg-warning "traditional C rejects" } */
31 long double l2 = sys_ld; /* { dg-bogus "traditional C rejects" } */