12 lines
111 B
Rust
12 lines
111 B
Rust
// run-pass
|
|
#[repr(u8)]
|
|
enum Foo {
|
|
Foo(u8),
|
|
}
|
|
|
|
fn main() {
|
|
match Foo::Foo(1) {
|
|
_ => ()
|
|
}
|
|
}
|