rust/tests/ui/issues/issue-81918.rs
2024-02-16 20:02:50 +00:00

12 lines
221 B
Rust

//@ check-pass
//@ dont-check-compiler-stdout
//@ compile-flags: -Z unpretty=mir-cfg
// This checks that unpretty=mir-cfg does not panic. See #81918.
const TAG: &'static str = "ABCD";
fn main() {
if TAG == "" {}
}