]> git.proxmox.com Git - rustc.git/blame - src/test/ui/consts/const-match-pattern-arm.rs
Merge branch 'debian/sid' into debian/experimental
[rustc.git] / src / test / ui / consts / const-match-pattern-arm.rs
CommitLineData
f035d41b 1// check-pass
3b2f2976 2
f035d41b 3const _: bool = match Some(true) {
cc61c64b 4 Some(value) => true,
cc61c64b
XL
5 _ => false
6};
223e47cc 7
f035d41b
XL
8const _: bool = {
9 match Some(true) {
cc61c64b 10 Some(value) => true,
cc61c64b
XL
11 _ => false
12 }
13};
b039eaaf 14
cc61c64b 15fn main() {}