]> git.proxmox.com Git - rustc.git/blob - vendor/rustc-rayon-core/tests/simple_panic.rs
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / vendor / rustc-rayon-core / tests / simple_panic.rs
1 use rayon_core::join;
2
3 #[test]
4 #[should_panic(expected = "should panic")]
5 fn simple_panic() {
6 join(|| {}, || panic!("should panic"));
7 }