os-rust/tests/ui/panics/panic-macro-any-wrapped.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
179 B
Rust
Raw Permalink Normal View History

2020-04-16 15:50:32 +09:00
//@ run-fail
//@ error-pattern:panicked
//@ error-pattern:Box<dyn Any>
2020-05-08 00:39:02 +09:00
//@ ignore-emscripten no processes
2021-06-29 20:33:31 +02:00
#![allow(non_fmt_panics)]
2021-02-02 00:40:17 +01:00
fn main() {
panic!(Box::new(612_i64));
}