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

10 lines
141 B
Rust
Raw Normal View History

// ignore-linux
// ignore-macos
use std::thread;
// error-pattern: Miri does not support threading
fn main() {
thread::spawn(|| {});
}