]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-22864-2.rs
Rollup merge of #92942 - Xaeroxe:raw_arg, r=dtolnay
[rust.git] / src / test / ui / issues / issue-22864-2.rs
1 // run-pass
2 // ignore-emscripten no threads support
3
4 pub fn main() {
5     let f = || || 0;
6     std::thread::spawn(f());
7 }