Sign in
fuchsia
/
third_party
/
rust
/
89573b3c8b629507130b1ec8beeaf550fdc0e046
/
.
/
src
/
test
/
run-pass
/
unwind-unique.rs
blob: 07613a6dd64d54f823ff935729a1a10b5776e451 [
file
] [
log
] [
blame
]
// 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
());
}