rust/src/test/run-pass/die-macro.rs
Alex Crichton daf5f5a4d1 Drop the '2' suffix from logging macros
Who doesn't like a massive renaming?
2013-10-22 08:09:56 -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() {
}