diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/extenv/extenv-env.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/extenv/extenv-env.rs b/tests/ui/extenv/extenv-env.rs new file mode 100644 index 000000000..9fda52b89 --- /dev/null +++ b/tests/ui/extenv/extenv-env.rs @@ -0,0 +1,5 @@ +// compile-flags: --env FOO=123abc -Zunstable-options +// run-pass +fn main() { + assert_eq!(env!("FOO"), "123abc"); +} |