rust/tests/ui/env-macro/option_env-not-defined.rs

6 lines
98 B
Rust

//@ run-pass
pub fn main() {
assert!(option_env!("__HOPEFULLY_DOESNT_EXIST__").is_none());
}