Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
macros
/
issue-86082-option-env-invalid-char.rs
blob: b556b24d6aa6a3d67a503c54a447d7fd976021d2 [
file
] [
log
] [
blame
]
// 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="
);
}