2020-04-16 15:50:32 +09:00
|
|
|
//@ run-fail
|
2014-10-28 14:07:33 -04:00
|
|
|
//@ 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
|
|
|
|
|
//@ 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!());
|
|
|
|
|
}
|