rust/src/test/run-pass/die-macro.rs
2013-09-30 23:21:19 -07:00

14 lines
166 B
Rust

// Just testing that fail!() type checks in statement or expr
#[allow(unreachable_code)];
fn f() {
fail2!();
let _x: int = fail2!();
}
pub fn main() {
}