]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/issue-86082-option-env-invalid-char.rs
Auto merge of #106975 - tmiasko:basic-blocks-cache, r=cjgillot
[rust.git] / tests / ui / macros / issue-86082-option-env-invalid-char.rs
1 // check-pass
2 //
3 // Regression test for issue #86082
4 //
5 // Checks that option_env! does not panic on receiving an invalid
6 // environment variable name.
7
8 fn main() {
9     option_env!("\0=");
10 }