6 lines
105 B
Rust
6 lines
105 B
Rust
fn main() {
|
|
return;
|
|
*(1 as *mut u32) = 42;
|
|
//~^ ERROR dereference of raw pointer is unsafe
|
|
}
|