Sign in
rust
/
rust
/
refs/heads/stable
/
.
/
compiler
/
rustc_thread_pool
/
tests
/
simple_panic.rs
blob: b35b4d632d2b976e41d4041296e5bc62b5e031df [
file
] [
log
] [
blame
]
#![
allow
(
unused_crate_dependencies
)]
use
rustc_thread_pool
::
join
;
#[
test
]
#[
should_panic
(
expected
=
"should panic"
)]
fn
simple_panic
()
{
join
(||
{},
||
panic
!(
"should panic"
));
}