repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Corrected date in changelog
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
dfp
/
usual-arith-conv-bad-3.c
blob
95421a6bfb894fb8092666512231df41915a8dcc
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
}