]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-19340-1.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-19340-1.rs
CommitLineData
b7449926 1// run-pass
0bf4aa26 2#![allow(unused_variables)]
1a4d82fc 3// aux-build:issue-19340-1.rs
223e47cc 4
c34b1796
AL
5// pretty-expanded FIXME #23616
6
7extern crate issue_19340_1 as lib;
223e47cc 8
1a4d82fc 9use lib::Homura;
223e47cc
LB
10
11fn main() {
1a4d82fc
JJ
12 let homura = Homura::Madoka { name: "Kaname".to_string() };
13
14 match homura {
15 Homura::Madoka { name } => (),
223e47cc 16 };
223e47cc 17}