]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-match-pattern-arm.rs
Merge commit '40b00f4200fbdeefd11815398cb46394b8cb0a5e' into sync_cg_clif-2021-12-30
[rust.git] / src / test / ui / consts / const-match-pattern-arm.rs
1 // check-pass
2
3 const _: bool = match Some(true) {
4     Some(value) => true,
5     _ => false
6 };
7
8 const _: bool = {
9     match Some(true) {
10         Some(value) => true,
11         _ => false
12     }
13 };
14
15 fn main() {}