fixup! Add regression test for const generic ICE in #72819

This commit is contained in:
Ayaz Hafiz 2020-06-08 17:46:28 -07:00
parent ab7355a886
commit f82382af28
No known key found for this signature in database
GPG Key ID: B443F7A3030C9AED
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,6 @@
// Regression test for #72819: ICE due to failure in resolving the const generic in `Arr`'s type
// bounds.
#![feature(const_generics)]
#![allow(incomplete_features)]
struct Arr<const N: usize>