summaryrefslogtreecommitdiffstats
path: root/tests/ui/exec-env.rs
blob: d7f15bcae7d2c4cf19393e64ce14ae72c276547a (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass
// exec-env:TEST_EXEC_ENV=22
// ignore-emscripten FIXME: issue #31622
// ignore-sgx unsupported

use std::env;

pub fn main() {
    assert_eq!(env::var("TEST_EXEC_ENV"), Ok("22".to_string()));
}