summaryrefslogtreecommitdiffstats
path: root/tests/ui/panic-runtime/unwind-unique.rs
blob: d66e39110eaca6cdf02a5bd04306d7b6f663ad7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// run-fail
// error-pattern:explicit panic
// ignore-emscripten no processes

fn failfn() {
    panic!();
}

fn main() {
    Box::new(0);
    failfn();
}