summaryrefslogtreecommitdiffstats
path: root/src/test/pretty/match-block-expr.rs
blob: 10903e928cda8ebcee344186630a00bca9516219 (plain)
1
2
3
4
5
6
// pp-exact

fn main() {
    let x = match { 5 } { 1 => 5, 2 => 6, _ => 7, };
    assert_eq!(x, 7);
}