summaryrefslogtreecommitdiffstats
path: root/vendor/rayon-core/tests/simple_panic.rs
blob: 2564482a47e5d2587e53dffb3da153aea77094bd (plain)
1
2
3
4
5
6
7
use rayon_core::join;

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