]> git.lizzy.rs Git - rust.git/blob - src/test/incremental/mir-opt.rs
Auto merge of #96709 - jackh726:gats-stabilization, r=compiler-errors
[rust.git] / src / test / incremental / mir-opt.rs
1 // MIR optimizations can create expansions after the TyCtxt has been created.
2 // This test verifies that those expansions can be decoded correctly.
3
4 // revisions:rpass1 rpass2
5 // compile-flags: -Z query-dep-graph -Z mir-opt-level=3
6
7 fn main() {
8     if std::env::var("a").is_ok() {
9         println!("b");
10     }
11 }