Skip to content

Commit 9137c2b

Browse files
committed
Add 82518
Issue: rust-lang/rust#82518
1 parent 96b6f71 commit 9137c2b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ices/82518.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#![crate_type = "lib"]
2+
#![feature(inline_const)]
3+
4+
fn foo<const V: usize>() {
5+
match 0 {
6+
const { V } => {},
7+
_ => {},
8+
}
9+
}

0 commit comments

Comments
 (0)