]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/match-block-expr.rs
Auto merge of #55519 - fhartwig:hashmap-index-example, r=Centril
[rust.git] / src / test / pretty / match-block-expr.rs
1 // pp-exact
2
3 fn main() {
4     let x = match { 5 } { 1 => 5, 2 => 6, _ => 7, };
5     assert_eq!(x , 7);
6 }