parent
8a9f7862bc
commit
2145a8770c
2 changed files with 29 additions and 5 deletions
11
src/test/ui/issues/issue-81918.rs
Normal file
11
src/test/ui/issues/issue-81918.rs
Normal file
|
|
@ -0,0 +1,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 == "" {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue