This commit is contained in:
James Dietz 2023-06-15 06:50:56 -04:00
parent 20499b9669
commit b1f7ab2ea2

View File

@ -0,0 +1,11 @@
// run-pass
#![feature(inline_const_pat)]
#![allow(dead_code)]
#![allow(incomplete_features)]
fn foo<const V: usize>() {
match 0 {
const { 1 << 5 } | _ => {}
}
}
fn main() {}