]> git.lizzy.rs Git - rust.git/blob - src/test/incremental/mir-opt.rs
Add 'library/portable-simd/' from commit '1ce1c645cf27c4acdefe6ec8a11d1f0491954a99'
[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 }