OSDN Git Service

* gcc.dg/dfp/func-array.c: Support -DDBG to report individual failures.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / dfp / usual-arith-conv-bad-2.c
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu99" } */
3
4 /* This used to result in an ICE.  */
5
6 extern _Decimal64 x;
7 extern int i;
8
9 void
10 foo (void)
11 {
12   if (x <= 2.0)         /* { dg-error "mix operands" } */
13     i++;
14 }