]> git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-12285.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / issues / issue-12285.rs
1 // run-pass
2
3 struct S;
4
5 fn main() {
6 match Some(&S) {
7 Some(&S) => {},
8 _x => unreachable!()
9 }
10 match Some(&S) {
11 Some(&S) => {},
12 None => unreachable!()
13 }
14 }