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