summary refs log tree commit diff
path: root/tests/ui/panic-runtime/unwind-interleaved.rs
blob: e5505cd893a110c1411d7e5549e6b8186fc72e14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//@ run-fail
//@ error-pattern:explicit panic
//@ ignore-emscripten no processes

fn a() {}

fn b() {
    panic!();
}

fn main() {
    let _x = vec![0];
    a();
    let _y = vec![0];
    b();
}