]> git.lizzy.rs Git - rust.git/blob - src/test/ui/threads-sendsync/task-life-0.rs
Auto merge of #84589 - In-line:zircon-thread-name, r=JohnTitor
[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 }