summaryrefslogtreecommitdiffstats
path: root/tests/ui/binding/match-naked-record-expr.rs
blob: c23ff8c9495807e86d3e4e2908228e4cd93f420a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// run-pass
// pretty-expanded FIXME #23616

struct X { x: isize }

pub fn main() {
    let _x = match 0 {
      _ => X {
        x: 0
      }.x
    };
}