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

8 lines
109 B
Rust

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