☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
dfp
/
usual-arith-conv-bad-3.c
☽
☼
gcc/testsuite/gcc.dg/dfp/usual-arith-conv-bad-3.c
code
plain
raw
1
/* Test error for conditional expression between DFP and other
2
floating operand. */
3
/* { dg-do compile } */
4
5
_Decimal32 a;
6
float b;
7
int i;
8
9
void
10
f (void)
11
{
12
(void) (i ? a : b); /* { dg-error "mix operands" } */
13
}