]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-match-pattern-arm.rs
Sync rust-lang/portable-simd@5f49d4c8435a25d804b2f375e949cb25479f5be9
[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() {}