Skip to content

Commit

Permalink
add regression test for rust-lang#73491
Browse files Browse the repository at this point in the history
  • Loading branch information
lcnr committed Jul 16, 2020
1 parent f52039d commit 09ba0bd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/test/ui/const-generics/issues/issue-73491.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// check-pass
#![feature(const_generics)]
#![allow(incomplete_features)]

const LEN: usize = 1024;

fn hoge<const IN: [u32; LEN]>() {}

fn main() {}

0 comments on commit 09ba0bd

Please sign in to comment.