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" } */
}