Skip to content

Commit b1f7ab2

Browse files
committed
add test
1 parent 20499b9 commit b1f7ab2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/ui/match/issue-112438.rs

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// run-pass
2+
#![feature(inline_const_pat)]
3+
#![allow(dead_code)]
4+
#![allow(incomplete_features)]
5+
fn foo<const V: usize>() {
6+
match 0 {
7+
const { 1 << 5 } | _ => {}
8+
}
9+
}
10+
11+
fn main() {}

0 commit comments

Comments
 (0)