summaryrefslogtreecommitdiffstats
path: root/tests/ui/panics/panic-macro-any.rs
blob: c7df5365474e950970670ed9230f716ec5dba435 (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(413) as Box<dyn std::any::Any + Send>);
}