summaryrefslogtreecommitdiffstats
path: root/tests/ui/panics/unique-panic.rs
blob: ae7911e5943891df6cea34c1e82a8f31c5ddf5d6 (plain)
1
2
3
4
5
6
7
8
9
10
// run-fail
// error-pattern: panic
// for some reason, fails to match error string on
// wasm32-unknown-unknown with stripped debuginfo and symbols,
// so don't strip it
// compile-flags:-Cstrip=none

fn main() {
    Box::new(panic!());
}