rust/src/test/run-pass/artificial-block.rs

7 lines
81 B
Rust

// xfail-stage0
fn f() -> int { { ret 3; } }
fn main() { assert (f() == 3); }