2021-10-02 14:14:52 -05:00
|
|
|
// MIR optimizations can create expansions after the TyCtxt has been created.
|
|
|
|
// This test verifies that those expansions can be decoded correctly.
|
|
|
|
|
2024-02-22 06:10:29 -06:00
|
|
|
//@ revisions:rpass1 rpass2
|
|
|
|
//@ compile-flags: -Z query-dep-graph -Z mir-opt-level=3
|
2021-10-02 14:14:52 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
if std::env::var("a").is_ok() {
|
|
|
|
println!("b");
|
|
|
|
}
|
|
|
|
}
|