rust/tests/compile-fail/concurrency/thread-spawn.rs

10 lines
158 B
Rust

// only-windows: Only Windows is not supported.
use std::thread;
// error-pattern: can't create threads on Windows
fn main() {
thread::spawn(|| {});
}