aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-1813.rs
blob: 6d35d45b170be04c89a9b0246034bdae9a07f007 (plain)
1
2
3
4
5
6
7
8
9
fn main() {
    let a = 15u8;
    let a = &a;
    match a {
        &15 => {}
        &14 => {}
        _ => {}
    }
}