]> git.lizzy.rs Git - rust.git/blob - tests/compile-fail/concurrency/thread-spawn.rs
Add a custom ui test runner and move all tests to it
[rust.git] / tests / compile-fail / concurrency / thread-spawn.rs
1 // only-windows: Only Windows is not supported.
2
3 use std::thread;
4
5 // error-pattern: can't create threads on Windows
6
7 fn main() {
8     thread::spawn(|| {});
9 }