summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/const_prop/aggregate.rs
blob: 6a3080384daf4fb0e285d412d331ef59ac258e40 (plain)
1
2
3
4
5
6
7
8
// unit-test: ConstProp
// compile-flags: -O

// EMIT_MIR aggregate.main.ConstProp.diff
// EMIT_MIR aggregate.main.PreCodegen.after.mir
fn main() {
    let x = (0, 1, 2).1 + 0;
}