rust/tests/pass/getpid.rs

10 lines
119 B
Rust
Raw Normal View History

2022-07-08 11:08:32 -05:00
//@compile-flags: -Zmiri-disable-isolation
2022-06-08 03:09:38 -05:00
fn getpid() -> u32 {
std::process::id()
}
fn main() {
getpid();
}