Add regression test for #99647
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
This commit is contained in:
parent
1d12c3cea3
commit
ba8d7cd3e1
1 changed files with 15 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
// edition:2018
|
||||
// run-pass
|
||||
|
||||
#![allow(incomplete_features)]
|
||||
#![feature(generic_const_exprs)]
|
||||
|
||||
#[allow(unused)]
|
||||
async fn foo<'a>() {
|
||||
let _data = &mut [0u8; { 1 + 4 }];
|
||||
bar().await
|
||||
}
|
||||
|
||||
async fn bar() {}
|
||||
|
||||
fn main() {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue