rust/tests/run-pass/env-exclude.rs
2019-08-28 17:57:41 -05:00

7 lines
218 B
Rust

// ignore-windows: TODO env var emulation stubbed out on Windows
// compile-flags: -Zmiri-disable-isolation -Zmiri-env-exclude=MIRI_ENV_VAR_TEST
fn main() {
assert!(std::env::var("MIRI_ENV_VAR_TEST").is_err());
}