aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-2567-2.rs
blob: 719511d49d3e30a991b0e69b189332589b0332c5 (plain)
1
2
3
4
5
6
7
8
// { dg-options "-w" }
enum Empty {}

fn foo(x: Empty) {
    let x: i32 = match x {
        // empty
    };
}