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

6 lines
123 B
Rust
Raw Normal View History

// compile-flags: --env-set FOO=123abc -Zunstable-options
2023-11-27 12:47:43 +00:00
// run-pass
fn main() {
assert_eq!(env!("FOO"), "123abc");
}