about summary refs log tree commit diff
path: root/tests/ui/std/thread-sleep-ms.rs
blob: 2d668b8265c27940338f480e5aab5684b962dcf3 (plain)
1
2
3
4
5
6
7
8
9
//@ run-pass
//@ needs-threads
//@ ignore-emscripten (FIXME: test hangs on emscripten)

#![allow(deprecated)]

fn main() {
    std::thread::sleep_ms(250);
}