summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-81918.rs
blob: 8938b8a6f2c52856bca6e94da4ca7d1f77fec7a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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 == "" {}
}