diff options
Diffstat (limited to 'src/test/mir-opt/early_otherwise_branch_3_element_tuple.rs')
-rw-r--r-- | src/test/mir-opt/early_otherwise_branch_3_element_tuple.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/mir-opt/early_otherwise_branch_3_element_tuple.rs b/src/test/mir-opt/early_otherwise_branch_3_element_tuple.rs deleted file mode 100644 index 76055e133..000000000 --- a/src/test/mir-opt/early_otherwise_branch_3_element_tuple.rs +++ /dev/null @@ -1,13 +0,0 @@ -// unit-test: EarlyOtherwiseBranch - -// EMIT_MIR early_otherwise_branch_3_element_tuple.opt1.EarlyOtherwiseBranch.diff -fn opt1(x: Option<u32>, y: Option<u32>, z: Option<u32>) -> u32 { - match (x, y, z) { - (Some(a), Some(b), Some(c)) => 0, - _ => 1, - } -} - -fn main() { - opt1(None, Some(0), None); -} |