summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/const_prop/issue-67019.rs
blob: c78b8b971783f0393981be5802721aa111a94829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// compile-flags: -Z mir-opt-level=3

// This used to ICE in const-prop

fn test(this: ((u8, u8),)) {
    assert!((this.0).0 == 1);
}

// EMIT_MIR issue_67019.main.ConstProp.diff
fn main() {
    test(((1, 2),));
}