rust/tests/pass/issues/issue-34571.rs

11 lines
100 B
Rust
Raw Normal View History

#[repr(u8)]
enum Foo {
Foo(u8),
}
fn main() {
match Foo::Foo(1) {
_ => (),
}
}