blob: 0ef97dde6363173c00a65f7b558cd9c39e8b19c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Test that we don't generate unnecessarily large MIR for very simple matches
// EMIT_MIR simple_match.match_bool.built.after.mir
fn match_bool(x: bool) -> usize {
match x {
true => 10,
_ => 20,
}
}
fn main() {}
|