* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / dfp / floatn.c
blob4fa7a091ab9cf8036f2f6fd9a21c7345b515fd98
1 /* Tests for _FloatN / _FloatNx types: test erroneous mixing with DFP. */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
4 /* { dg-add-options float32 } */
5 /* { dg-add-options float32x } */
6 /* { dg-require-effective-target float32 } */
7 /* { dg-require-effective-target float32x } */
9 _Decimal32 d32;
10 _Float32 f32;
11 _Float32x f32x;
12 int i;
14 void
15 f (void)
17 (void) (d32 + f32); /* { dg-error "mix operands" } */
18 (void) (f32x * d32); /* { dg-error "mix operands" } */
19 (void) (i ? d32 : f32); /* { dg-error "mix operands" } */