rust/src/test/run-fail/unwind-interleaved.rs

12 lines
120 B
Rust

// error-pattern:fail
fn a() { }
fn b() { fail; }
fn main() {
let x = ~[0];
a();
let y = ~[0];
b();
}