]> git.lizzy.rs Git - rust.git/blob - src/test/ui/exec-env.rs
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[rust.git] / src / test / ui / exec-env.rs
1 // run-pass
2 // exec-env:TEST_EXEC_ENV=22
3 // ignore-emscripten FIXME: issue #31622
4 // ignore-sgx unsupported
5
6 use std::env;
7
8 pub fn main() {
9     assert_eq!(env::var("TEST_EXEC_ENV"), Ok("22".to_string()));
10 }