mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 17:40:16 +00:00
10 lines
137 B
Rust
10 lines
137 B
Rust
// run-pass
|
|
// compile-flags: -C debug-assertions
|
|
|
|
fn main() {
|
|
let ptr = 1 as *const u16;
|
|
unsafe {
|
|
let _ = *ptr;
|
|
}
|
|
}
|