mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-16 04:17:57 +00:00
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;
|
|
}
|
|
}
|