]> git.proxmox.com Git - rustc.git/blame_incremental - src/test/ui/threads-sendsync/spawning-with-debug.rs
New upstream version 1.47.0~beta.2+dfsg1
[rustc.git] / src / test / ui / threads-sendsync / spawning-with-debug.rs
... / ...
CommitLineData
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
10use std::thread::Builder;
11
12pub fn main() {
13 let mut t = Builder::new();
14 t.spawn(move || ());
15}