Skip to content

Commit 1297cb7

Browse files
committed
add test case
1 parent 1aa6c7c commit 1297cb7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// edition:2018
2+
3+
async fn main() {
4+
// Adding an .await here avoids the ICE
5+
test()?;
6+
}
7+
8+
// Removing the const generic parameter here avoids the ICE
9+
async fn test<const N: usize>() {
10+
}

0 commit comments

Comments
 (0)