Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
unsupported-cast.rs
blob: cb6a57a4d39d58590a776e45ab09cd982e576dc1 [
file
] [
log
] [
blame
]
// error-pattern:casting
struct
A
;
fn
main
()
{
println
!(
"{:?}"
,
1.0
as
*
const
A
);
// Can't cast float to foreign.
}