Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-5696.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wstrict-aliasing-5.C
blob: a049251186585a1d86dd1084abc023ce80dbf9d9 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-Wstrict-aliasing=2 -O2" } */
float
foo
()
{
unsigned
int
MASK
=
0x80000000
;
return
(
float
&)
MASK
;
/* { dg-warning "strict-aliasing" } */
}