3 // ignore-emscripten no threads support
7 struct Foo(#[allow(unused_tuple_struct_fields)] i32);
11 static mut DROPPED: bool = false;
21 fn empty() -> Empty { Empty }
23 fn should_panic(_: Foo, _: Empty) {
28 should_panic(Foo(1), empty());
32 let ret = thread::spawn(test).join();
33 assert!(ret.is_err());