blob: 15f380f7fb471032b17d3645176b15adbc37e01a (
plain)
1
2
3
4
5
6
7
8
9
10
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() {}
|