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

#[allow(unreachable_code)];

fn f() {
    fail!();

    let _x: int = fail!();
}

pub fn main() {

}