rust/tests/ui/env-macro/env-env.rs

6 lines
125 B
Rust

//@ compile-flags: --env-set FOO=123abc -Zunstable-options
//@ run-pass
fn main() {
assert_eq!(env!("FOO"), "123abc");
}