blob: 290e274f30541b30facf092eaed8e49c3bf375f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// run-pass
// pretty-expanded FIXME #23616
fn f() -> isize {
if true {
let _s: String = "should not leak".to_string();
return 1;
}
return 0;
}
pub fn main() { f(); }
|