2024-02-16 20:02:50 +00:00
|
|
|
//@ run-pass
|
2012-03-13 17:24:39 -07:00
|
|
|
// Issue 1974
|
|
|
|
// Don't double free the condition allocation
|
2024-02-16 20:02:50 +00:00
|
|
|
//@ pretty-expanded FIXME #23616
|
2015-03-22 13:13:15 -07:00
|
|
|
|
2013-02-01 19:43:17 -08:00
|
|
|
pub fn main() {
|
2014-05-25 03:10:11 -07:00
|
|
|
let s = "hej".to_string();
|
|
|
|
while s != "".to_string() {
|
2012-08-01 17:30:05 -07:00
|
|
|
return;
|
2012-03-13 17:24:39 -07:00
|
|
|
}
|
2013-02-14 11:47:00 -08:00
|
|
|
}
|