Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / gcc.dg / fixed-point / keywords-ignored-c99.c
blobc20b8e4ac04b0b7e63d67aa0cd1bb2945b38c985
1 /* { dg-do compile } */
2 /* { dg-options "-std=c99" } */
4 /* Fixed-point keywords are not reserved for c99. */
6 int _Fract (void)
8 return 0;
11 int _Accum (void)
13 return 0;
16 int _Sat (void)
18 return 0;
21 int foo1 (int i)
23 int _Fract = i * 2;
24 return _Fract;
27 int foo2 (int i)
29 int _Accum = i * 2;
30 return _Accum;
33 int foo3 (int i)
35 int _Sat = i * 2;
36 return _Sat;