Skip to content

Commit 5b7eba6

Browse files
Rollup merge of #112389 - TaKO8Ki:issue-105709, r=compiler-errors
Add a test for #105709 Closes #105709
2 parents 53ee185 + 5e57e27 commit 5b7eba6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// check-pass
2+
3+
#![feature(generic_const_exprs)]
4+
#![feature(inline_const)]
5+
#![allow(incomplete_features)]
6+
7+
pub struct ConstDefaultUnstable<const N: usize = { const { 3 } }>;
8+
9+
pub fn main() {}

0 commit comments

Comments
 (0)