Skip to content

Commit

Permalink
Rollup merge of #112389 - TaKO8Ki:issue-105709, r=compiler-errors
Browse files Browse the repository at this point in the history
Add a test for #105709

Closes #105709
  • Loading branch information
GuillaumeGomez committed Jun 8, 2023
2 parents 53ee185 + 5e57e27 commit 5b7eba6
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 5b7eba6

Please sign in to comment.