2020-04-16 01:50:32 -05:00
|
|
|
//@ run-fail
|
2023-06-20 12:16:18 -05:00
|
|
|
//@ error-pattern:panicked
|
|
|
|
//@ error-pattern:Box<dyn Any>
|
2020-05-07 10:39:02 -05:00
|
|
|
//@ ignore-emscripten no processes
|
2013-10-11 16:20:34 -05:00
|
|
|
|
2021-06-29 13:33:31 -05:00
|
|
|
#![allow(non_fmt_panics)]
|
2015-01-07 19:37:58 -06:00
|
|
|
|
2013-10-11 16:20:34 -05:00
|
|
|
fn main() {
|
2021-08-24 19:39:40 -05:00
|
|
|
panic!(Box::new(413) as Box<dyn std::any::Any + Send>);
|
2013-10-11 16:20:34 -05:00
|
|
|
}
|