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

/* Flixed-point keywords are not recognized in C89 mode.  */

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