Skip to content

Commit

Permalink
add a test for #105709
Browse files Browse the repository at this point in the history
replace build with check

Co-authored-by: Michael Goulet <michael@errs.io>

use appropriate test name
  • Loading branch information
TaKO8Ki committed Jun 8, 2023
1 parent e94bda3 commit 5e57e27
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// check-pass

#![feature(generic_const_exprs)]
#![feature(inline_const)]
#![allow(incomplete_features)]

pub struct ConstDefaultUnstable<const N: usize = { const { 3 } }>;

pub fn main() {}

0 comments on commit 5e57e27

Please sign in to comment.