2020-04-16 01:50:32 -05:00
|
|
|
// run-fail
|
2014-10-28 13:07:33 -05:00
|
|
|
// error-pattern: panic
|
2022-06-15 08:36:19 -05: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-07 19:37:58 -06:00
|
|
|
|
2016-05-26 21:39:36 -05:00
|
|
|
fn main() {
|
|
|
|
Box::new(panic!());
|
|
|
|
}
|