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