]> git.lizzy.rs Git - rust.git/blob - src/test/incremental/mir-opt.rs
Merge commit 'c19edfd71a1d0ddef86c2c67fdb40718d40a72b4' into sync_cg_clif-2022-07-25
[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 }