]>
Commit | Line | Data |
---|---|---|
1 | // run-pass | |
2 | #![allow(unused_must_use)] | |
3 | #![allow(unused_mut)] | |
4 | // ignore-windows | |
5 | // exec-env:RUST_LOG=debug | |
6 | // ignore-emscripten no threads support | |
7 | ||
8 | // regression test for issue #10405, make sure we don't call println! too soon. | |
9 | ||
10 | use std::thread::Builder; | |
11 | ||
12 | pub fn main() { | |
13 | let mut t = Builder::new(); | |
14 | t.spawn(move || ()); | |
15 | } |