rust/tests/pass/getpid.rs
2022-07-08 16:08:32 +00:00

10 lines
119 B
Rust

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