Debian Codegraph @

gcc/testsuite/gcc.dg/dfp/pr79515.c

raw
1 /* PR c/79515 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wdouble-promotion" } */
4
5 extern _Decimal64 x;
6 extern int i;
7
8 void
9 foo (void)
10 {
11 if (x <= 2.0) /* { dg-error "mix operands" } */
12 i++;
13 }