summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/fixed-point/keywords-c99.c
blob: 471e00446c8fdc160b2edc336f3251b4373d02bd (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-std=c99" } */

/* Fixed-point keywords are not recognized in C99 mode.  */

_Fract w;		/* { dg-error "" } */
_Accum x;		/* { dg-error "" } */
_Sat _Fract y;		/* { dg-error "" } */
_Sat _Fract z;		/* { dg-error "" } */