OSDN Git Service

* lib/target-supports.exp (check_effective_target_fixed_point): New to
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / nofixed-point-1.c
1 /* { dg-do compile { target {! fixed_point} } } */
2 /* { dg-options "-std=gnu99" } */
3
4 _Fract w;       /* { dg-error "not supported" "reject fixed-point" } */
5 _Sat _Fract x;  /* { dg-error "not supported" "reject fixed-point" } */
6 _Accum y;       /* { dg-error "not supported" "reject fixed-point" } */
7 _Sat _Accum z;  /* { dg-error "not supported" "reject fixed-point" } */