]> git.lizzy.rs Git - rust.git/blob - src/test/ui/exec-env.rs
Auto merge of #67000 - spastorino:remove-promoted-from-place, r=oli-obk
[rust.git] / src / test / ui / exec-env.rs
1 // run-pass
2 // exec-env:TEST_EXEC_ENV=22
3 // ignore-cloudabi no env vars
4 // ignore-emscripten FIXME: issue #31622
5 // ignore-sgx unsupported
6
7 use std::env;
8
9 pub fn main() {
10     assert_eq!(env::var("TEST_EXEC_ENV"), Ok("22".to_string()));
11 }