Skip to content

Commit d5b975c

Browse files
authored
Rollup merge of #105994 - JohnTitor:issue-99647, r=compiler-errors
Add regression test for #99647 Closes #99647 r? `@compiler-errors` Signed-off-by: Yuki Okushi <[email protected]>
2 parents a0bf4f9 + 66ca5cc commit d5b975c

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
File renamed without changes.
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)