summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-3500.rs
blob: 7b39cc16cab4a7f006a382a585e6c1770297881c (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass
// pretty-expanded FIXME #23616

pub fn main() {
    let x = &Some(1);
    match x {
        &Some(_) => (),
        &None => (),
    }
}