blob: 6f6f09c2f48bfd24eba37c87957118ff57edcf2a [file] [log] [blame]
/* PR c/79515 */
/* { dg-do compile } */
/* { dg-options "-Wdouble-promotion" } */
extern _Decimal64 x;
extern int i;
void
foo (void)
{
if (x <= 2.0) /* { dg-error "mix operands" } */
i++;
}