]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/match-block-expr.rs
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[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 }