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

8 lines
109 B
Rust
Raw Normal View History

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