rust/src/test/run-pass/die-macro.rs
2013-08-17 08:42:35 -07:00

14 lines
164 B
Rust

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