rust/tests/pass/getpid.rs

10 lines
119 B
Rust
Raw Normal View History

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