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

#![allow(non_fmt_panics)]

fn main() {
    panic!(Box::new(413) as Box<dyn std::any::Any + Send>);
}