Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
dfp
/
pr79515.c
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
++;
}