mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 13:07:37 +00:00
11 lines
192 B
Rust
11 lines
192 B
Rust
![]() |
//@ check-pass
|
||
|
//
|
||
|
// Regression test for issue #86082
|
||
|
//
|
||
|
// Checks that option_env! does not panic on receiving an invalid
|
||
|
// environment variable name.
|
||
|
|
||
|
fn main() {
|
||
|
option_env!("\0=");
|
||
|
}
|