1
Fork 0

Add test to prevent regression

This commit is contained in:
Aris Merchant 2021-06-09 01:44:06 -07:00
parent f2c0f29248
commit d26e01e9df

View file

@ -0,0 +1,10 @@
// 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=");
}