summary refs log tree commit diff
path: root/src/test/run-pass/die-macro.rs
blob: c4f5e2640ee1ded485aca713dc5865e3765de0dc (plain)
1
2
3
4
5
6
7
8
9
10
11
// Just testing that fail!() type checks in statement or expr

fn f() {
    fail!();

    let x: int = fail!();
}

pub fn main() {

}