index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
test
/
run-pass
/
unsafe-pointer-assignability.rs
blob: 11e22d7a08ac0960edca326dc1ef7ed5faf5c66d (
plain
)
1
2
3
4
5
6
7
8
9
fn f(x: *const isize) { unsafe { assert_eq!(*x, 3); } } pub fn main() { f(&3); }