]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/issue-67019.rs
Rollup merge of #98387 - NobodyXu:feature/std_io_Error_try_downgrade_inner, r=yaahc
[rust.git] / src / test / mir-opt / const_prop / issue-67019.rs
1 // compile-flags: -Z mir-opt-level=3
2
3 // This used to ICE in const-prop
4
5 fn test(this: ((u8, u8),)) {
6     assert!((this.0).0 == 1);
7 }
8
9 // EMIT_MIR issue_67019.main.ConstProp.diff
10 fn main() {
11     test(((1, 2),));
12 }