]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/pass/getpid.rs
Rollup merge of #102589 - RalfJung:scoped-threads-dangling, r=m-ou-se
[rust.git] / src / tools / miri / tests / pass / getpid.rs
1 //@compile-flags: -Zmiri-disable-isolation
2
3 fn getpid() -> u32 {
4     std::process::id()
5 }
6
7 fn main() {
8     getpid();
9 }