summary refs log tree commit diff
path: root/tests/ui/std/thread-sleep-ms.rs
blob: 0a3d0253a20efde42f9fd472b4c3b8d52d30bfe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ run-pass
//@ ignore-sgx not supported
//@ ignore-emscripten
// FIXME: test hangs on emscripten
#![allow(deprecated)]
#![allow(unused_imports)]

use std::thread;

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