]> git.lizzy.rs Git - rust.git/blob - src/test/ui/panics/unique-panic.rs
Auto merge of #99028 - tmiasko:inline, r=estebank
[rust.git] / src / test / ui / panics / unique-panic.rs
1 // run-fail
2 // error-pattern: panic
3 // for some reason, fails to match error string on
4 // wasm32-unknown-unknown with stripped debuginfo and symbols,
5 // so don't strip it
6 // compile-flags:-Cstrip=none
7
8 fn main() {
9     Box::new(panic!());
10 }