1 /* Copyright (C) 2001 Free Software Foundation, Inc. */
3 /* { dg-do compile } */
4 /* { dg-options "-std=gnu99 -pedantic -Wtraditional -fno-show-column" } */
6 /* Tests diagnostics are suppressed for some macros defined in system
9 /* Source: Neil Booth, 15 Jan 2001. */
20 int u1
= uint
; /* { dg-warning "traditional C rejects" } */
21 int u2
= sys_uint
; /* { dg-bogus "traditional C rejects" } */
22 float f1
= fl
; /* { dg-warning "traditional C rejects" } */
23 float f2
= sys_fl
; /* { dg-bogus "traditional C rejects" } */
24 long double ld1
= ld
; /* { dg-warning "traditional C rejects" } */
25 long double l2
= sys_ld
; /* { dg-bogus "traditional C rejects" } */