add a test for #105709

replace build with check

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

use appropriate test name
This commit is contained in:
Takayuki Maeda 2023-06-08 00:57:22 +09:00
parent e94bda3bf1
commit 5e57e27d7a

View File

@ -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() {}