Sign in
fuchsia
/
third_party
/
rust
/
2ecc48ffa17d55ec02f3beb5bb17c718cb439202
/
.
/
src
/
test
/
ui
/
unsafe-pointer-assignability.rs
blob: db822bb6a028350306858573cd67dd213198ca5e [
file
] [
log
] [
blame
]
// run-pass
fn
f
(
x
:
*
const
isize
)
{
unsafe
{
assert_eq
!(*
x
,
3
);
}
}
pub
fn
main
()
{
f
(&
3
);
}