rust/src/test/run-fail/unwind-box-unique.rs

11 lines
113 B
Rust
Raw Normal View History

2012-03-26 18:25:29 -05:00
// error-pattern:fail
fn failfn() {
fail;
}
fn main() {
let x = @~0;
failfn();
log(error, x);
}