aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/match-identifierpattern.rs
blob: 6c558ac065b976d82745fe30497552f034ed5952 (plain)
1
2
3
4
5
6
7
8
9
fn main() {
    let x = 1;

    match x {
        2 => {},
        a @ 3 => {},
        _ => {},
    }
}