1 2 3 4 5 6 7 8 9 10 11 12
// -*- rust -*- fn f() -> int { if (true) { let str s = "should not leak"; ret 1; } ret 0; } fn main() { f(); }