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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
125 B
Rust
Raw Normal View History

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