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

16 lines
136 B
Rust

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