add test
This commit is contained in:
parent
20499b9669
commit
b1f7ab2ea2
11
tests/ui/match/issue-112438.rs
Normal file
11
tests/ui/match/issue-112438.rs
Normal 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() {}
|
Loading…
Reference in New Issue
Block a user