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

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