]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unwind-unique.rs
Rollup merge of #88090 - nbdd0121:inference, r=nikomatsakis
[rust.git] / src / test / ui / unwind-unique.rs
1 // run-pass
2 // ignore-emscripten no threads support
3
4 use std::thread;
5
6 fn f() {
7     let _a: Box<_> = Box::new(0);
8     panic!();
9 }
10
11 pub fn main() {
12     let t = thread::spawn(f);
13     drop(t.join());
14 }