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
c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
dfp
/
pr79515.c
blob
6f6f09c2f48bfd24eba37c87957118ff57edcf2a
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
}