Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
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
);
}