add test case

This commit is contained in:
Niko Matsakis 2021-07-03 18:32:26 -04:00
parent 1aa6c7cbc6
commit 1297cb7f37

View File

@ -0,0 +1,10 @@
// edition:2018
async fn main() {
// Adding an .await here avoids the ICE
test()?;
}
// Removing the const generic parameter here avoids the ICE
async fn test<const N: usize>() {
}