add regression test for #73491

This commit is contained in:
Bastian Kauschke 2020-07-16 12:35:23 +02:00
parent f52039d5e8
commit 09ba0bda2c

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