os-rust/src/test/ui/async-await/issue-84841.rs

11 lines
191 B
Rust
Raw Normal View History

2021-07-03 18:32:26 -04:00
// 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>() {
}