rust/tests/pass/issues/issue-34571.rs
2022-06-20 16:09:45 -07:00

11 lines
100 B
Rust

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