Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
dfp
/
usual-arith-conv-bad-3.c
blob: 95421a6bfb894fb8092666512231df41915a8dcc [
file
] [
log
] [
blame
]
/* Test error for conditional expression between DFP and other
floating operand. */
/* { dg-do compile } */
_Decimal32
a
;
float
b
;
int
i
;
void
f
(
void
)
{
(
void
)
(
i
?
a
:
b
);
/* { dg-error "mix operands" } */
}