rust/tests/ui/const-generics/arg-in-pat-2.rs

11 lines
148 B
Rust

//@ check-pass
enum Generic<const N: usize> {
Variant,
}
fn main() {
match todo!() {
Generic::<0usize>::Variant => todo!()
}
}