mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 10:19:00 +00:00
15 lines
169 B
Rust
15 lines
169 B
Rust
//@ run-pass
|
|
|
|
|
|
|
|
|
|
fn f() -> isize {
|
|
if true {
|
|
let _s: String = "should not leak".to_string();
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
pub fn main() { f(); }
|