summaryrefslogtreecommitdiffstats
path: root/tests/ui/panics/doublepanic.rs
blob: c1fcc875c36136d1e3eb5fe4ada575ef570e2c0d (plain)
1
2
3
4
5
6
7
8
9
10
#![allow(unreachable_code)]

// run-fail
// error-pattern:One
// ignore-emscripten no processes

fn main() {
    panic!("One");
    panic!("Two");
}