Sign in
fuchsia
/
third_party
/
rust
/
15f159addefd8fea7564ba7617c8af78582b7816
/
.
/
src
/
test
/
ui
/
typeck
/
typeck-cast-pointer-to-float.rs
blob: 2af7a3cf245193fd861f5192edcad5e55eb4208a [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
:
i16
=
22
;
((&
x
)
as
*
const
i16
)
as
f32
;
//~^ ERROR casting `*const i16` as `f32` is invalid
}