]> git.proxmox.com Git - rustc.git/blame - src/test/mir-opt/early_otherwise_branch_3_element_tuple.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / mir-opt / early_otherwise_branch_3_element_tuple.rs
CommitLineData
6a06907d 1// compile-flags: -Z mir-opt-level=4 -Z unsound-mir-opts
1b1a35ee
XL
2
3// EMIT_MIR early_otherwise_branch_3_element_tuple.opt1.EarlyOtherwiseBranch.diff
4fn opt1(x: Option<u32>, y: Option<u32>, z: Option<u32>) -> u32 {
5 match (x, y, z) {
6 (Some(a), Some(b), Some(c)) => 0,
7 _ => 1,
8 }
9}
10
11fn main() {
12 opt1(None, Some(0), None);
13}