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

struct X { x: isize }

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