aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/artificial-block.rs
blob: e09dbcc1f89a2d44f4b7c7e93f45f015ef277178 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// xfail-stage0
fn f() -> int {
    { ret 3; }
}

fn main() {
    assert(f() == 3);
}