rust/src/test/run-fail/unwind-check.rs
2011-09-11 17:31:39 -07:00

8 lines
106 B
Rust

// error-pattern:fail
pure fn p(a: @int) -> bool { false }
fn main() {
let a = @0;
check p(a);
}