]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-21291.rs
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-21291.rs
CommitLineData
b7449926 1// run-pass
7453a54e
SL
2// ignore-emscripten no threads support
3
9346a6ac
AL
4// Regression test for unwrapping the result of `join`, issue #21291
5
6use std::thread;
7
c34b1796 8fn main() {
9346a6ac 9 thread::spawn(|| {}).join().unwrap()
223e47cc 10}