]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/match-block-expr.rs
Rollup merge of #102271 - lopopolo:lopopolo/stabilize-duration-try-from-secs-float...
[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 }