Skip to content

Commit 5e57e27

Browse files
committed
add a test for #105709
replace build with check Co-authored-by: Michael Goulet <[email protected]> use appropriate test name
1 parent e94bda3 commit 5e57e27

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
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)