mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 12:07:40 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
11 lines
177 B
Rust
11 lines
177 B
Rust
//@ run-pass
|
|
// Issue 1974
|
|
// Don't double free the condition allocation
|
|
|
|
pub fn main() {
|
|
let s = "hej".to_string();
|
|
while s != "".to_string() {
|
|
return;
|
|
}
|
|
}
|