Skip to content

Commit ba8d7cd

Browse files
committed
Add regression test for #99647
Signed-off-by: Yuki Okushi <[email protected]>
1 parent 1d12c3c commit ba8d7cd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// edition:2018
2+
// run-pass
3+
4+
#![allow(incomplete_features)]
5+
#![feature(generic_const_exprs)]
6+
7+
#[allow(unused)]
8+
async fn foo<'a>() {
9+
let _data = &mut [0u8; { 1 + 4 }];
10+
bar().await
11+
}
12+
13+
async fn bar() {}
14+
15+
fn main() {}

0 commit comments

Comments
 (0)