1use rayon_core::join;
2
3#[test]
4#[should_panic(expected = "should panic")]
5fn simple_panic() {
6 join(|| {}, || panic!("should panic"));
7}
8