]> git.lizzy.rs Git - rust.git/blob - src/test/ui/threads-sendsync/task-life-0.rs
Merge commit 'e18101137866b79045fee0ef996e696e68c920b4' into clippyup
[rust.git] / src / test / ui / threads-sendsync / task-life-0.rs
1 // run-pass
2 #![allow(unused_must_use)]
3 // ignore-emscripten no threads support
4 // pretty-expanded FIXME #23616
5
6 use std::thread;
7
8 pub fn main() {
9     thread::spawn(move|| child("Hello".to_string()) ).join();
10 }
11
12 fn child(_s: String) {
13
14 }