2025-06-11 16:56:01 -07:00

10 lines
185 B
Rust

#![allow(unused_crate_dependencies)]
use rustc_thread_pool::join;
#[test]
#[should_panic(expected = "should panic")]
fn simple_panic() {
join(|| {}, || panic!("should panic"));
}