mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 02:57:18 +00:00
13 lines
271 B
Rust
13 lines
271 B
Rust
// https://github.com/rust-lang/rust/issues/81918
|
|
//@ 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 == "" {}
|
|
}
|