]> git.proxmox.com Git - rustc.git/blame_incremental - src/test/ui/drop/drop-on-ret.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / drop / drop-on-ret.rs
... / ...
CommitLineData
1// run-pass
2
3
4
5// pretty-expanded FIXME #23616
6
7fn f() -> isize {
8 if true {
9 let _s: String = "should not leak".to_string();
10 return 1;
11 }
12 return 0;
13}
14
15pub fn main() { f(); }