]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-1974.rs
Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20
[rust.git] / src / test / 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 }