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 explicit/copy problem [PR109247]
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.dg
/
cast1.d
blob
3fe7d99c0318751573ebacbab0ddf52f8f6aad54
1
// { dg-do compile }
2
float
bug8060
(
float
x
)
3
{
4
int
i
= *
cast
(
int
*)&
x
;
5
++
i
;
6
return
*
cast
(
float
*)&
i
;
7
}