rust/tests/pass/env-exclude.rs

6 lines
153 B
Rust
Raw Normal View History

2022-07-08 11:08:32 -05:00
//@compile-flags: -Zmiri-disable-isolation -Zmiri-env-exclude=MIRI_ENV_VAR_TEST
2019-08-28 17:34:34 -05:00
fn main() {
assert!(std::env::var("MIRI_ENV_VAR_TEST").is_err());
}