]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-1974.rs
Rollup merge of #106867 - sunfishcode:sunfishcode/std-os-fd-stable-version, r=m-ou-se
[rust.git] / tests / ui / issues / issue-1974.rs
1 // run-pass
2 // Issue 1974
3 // Don't double free the condition allocation
4 // pretty-expanded FIXME #23616
5
6 pub fn main() {
7     let s = "hej".to_string();
8     while s != "".to_string() {
9         return;
10     }
11 }