]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/const_prop/aggregate.rs
Rollup merge of #107339 - aliemjay:covariant, r=lcnr
[rust.git] / tests / mir-opt / const_prop / aggregate.rs
1 // unit-test: ConstProp
2 // compile-flags: -O
3
4 // EMIT_MIR aggregate.main.ConstProp.diff
5 // EMIT_MIR aggregate.main.PreCodegen.after.mir
6 fn main() {
7     let x = (0, 1, 2).1 + 0;
8 }