mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 05:26:23 +03:00
4 lines
97 B
Rust
4 lines
97 B
Rust
fn main() {
|
|
unsafe { *std::ptr::null_mut() = 0i32 }; //~ ERROR invalid use of NULL pointer
|
|
}
|