1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu99" } */
3
4 /* N1169 6.4.1: Keywords.
5 C99 6.4.1(2): Keywords.
6 Fixed-point keywords cannot be used in other contexts. */
7
_Fract(void)8 int _Fract (void) /* { dg-error "" } */
9 {
10 return 0;
11 }
12
_Accum(void)13 int _Accum (void) /* { dg-error "" } */
14 {
15 return 0;
16 }
17
_Sat(void)18 int _Sat (void) /* { dg-error "" } */
19 {
20 return 0;
21 }
22
foo1(int i)23 int foo1 (int i)
24 {
25 int _Fract = i * 2; /* { dg-error "" } */
26 return _Fract; /* { dg-error "" } */
27 }
28
foo2(int i)29 int foo2 (int i)
30 {
31 int _Accum = i * 2; /* { dg-error "" } */
32 return _Accum; /* { dg-error "" } */
33 }
34
foo3(int i)35 int foo3 (int i)
36 {
37 int _Sat = i * 2; /* { dg-error "" } */
38 return _Sat; /* { dg-error "" } */
39 }
40