1 2 3 4 5 6 7 8
// { dg-options "-w" } pub enum X {} pub fn foo(x: X) { let _a: i32 = match x {}; } pub fn main() {}