2 // Regression test for Issue #30018. This is very similar to the
3 // original reported test, except that the panic is wrapped in a
4 // spawned thread to isolate the expected error result from the
5 // SIGTRAP injected by the drop-flag consistency checking.
8 // ignore-emscripten no threads support
22 let handle = thread::spawn(|| {
25 let _ = handle.join();