
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
11 lines
165 B
Rust
11 lines
165 B
Rust
//@ run-pass
|
|
|
|
use std::ptr;
|
|
|
|
pub fn main() {
|
|
unsafe {
|
|
let mut x: bool = false;
|
|
// this line breaks it
|
|
ptr::write(&mut x, false);
|
|
}
|
|
}
|