summaryrefslogtreecommitdiffstats
path: root/tests/ui/panics/panic-macro-any-wrapped.rs
blob: 663bf6713d090e444e8f900d3687d1e3be383a5e (plain)
1
2
3
4
5
6
7
8
9
// run-fail
// error-pattern:panicked at 'Box<dyn Any>'
// ignore-emscripten no processes

#![allow(non_fmt_panics)]

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