add regression test for #73491
This commit is contained in:
parent
f52039d5e8
commit
09ba0bda2c
9
src/test/ui/const-generics/issues/issue-73491.rs
Normal file
9
src/test/ui/const-generics/issues/issue-73491.rs
Normal file
@ -0,0 +1,9 @@
|
||||
// check-pass
|
||||
#![feature(const_generics)]
|
||||
#![allow(incomplete_features)]
|
||||
|
||||
const LEN: usize = 1024;
|
||||
|
||||
fn hoge<const IN: [u32; LEN]>() {}
|
||||
|
||||
fn main() {}
|
Loading…
Reference in New Issue
Block a user