summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/nofixed-point-1.c
blob: babbe5989113df9d3ae58b3b6a04643e365549e7 (plain)
1
2
3
4
5
6
7
/* { dg-do compile { target {! fixed_point} } } */
/* { dg-options "-std=gnu99" } */

_Fract w;       /* { dg-error "not supported" "reject fixed-point" } */
_Sat _Fract x;  /* { dg-error "not supported" "reject fixed-point" } */
_Accum y;       /* { dg-error "not supported" "reject fixed-point" } */
_Sat _Accum z;  /* { dg-error "not supported" "reject fixed-point" } */