2024-02-16 20:02:50 +00:00
|
|
|
//@ run-fail
|
|
|
|
//@ error-pattern: panic
|
2022-06-15 16:36:19 +03:00
|
|
|
// for some reason, fails to match error string on
|
|
|
|
// wasm32-unknown-unknown with stripped debuginfo and symbols,
|
|
|
|
// so don't strip it
|
2024-02-16 20:02:50 +00:00
|
|
|
//@ compile-flags:-Cstrip=none
|
2015-01-08 02:37:58 +01:00
|
|
|
|
2016-05-27 08:09:36 +05:30
|
|
|
fn main() {
|
|
|
|
Box::new(panic!());
|
|
|
|
}
|