]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/match-block-expr.rs
Rollup merge of #61797 - Thomasdezeeuw:stablise-weak_ptr_eq, r=RalfJung
[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 }