Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
unwind-unique.rs
blob: ea3089e747fb539caddfd9b9d1d8868a91353112 [
file
] [
log
] [
blame
]
// run-pass
// ignore-emscripten no threads support
#![
feature
(
box_syntax
)]
use
std
::
thread
;
fn
f
()
{
let
_a
:
Box
<
_
>
=
box
0
;
panic
!();
}
pub
fn
main
()
{
let
t
=
thread
::
spawn
(
f
);
drop
(
t
.
join
());
}