rust/tests/pass/getpid.rs
2022-06-11 11:28:50 +02:00

10 lines
119 B
Rust

// compile-flags: -Zmiri-disable-isolation
fn getpid() -> u32 {
std::process::id()
}
fn main() {
getpid();
}