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

10 lines
98 B
Rust

// error-pattern:fail
fn f(a: @int) {
fail;
}
fn main() {
let g = bind f(@0);
g();
}