summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/issue-73050.rs
blob: 790f24a230b7e1a1a9b17b56ffadfa55a395d0b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass
// edition:2018

#[allow(unused)]
async fn foo<'a>() {
    let _data = &mut [0u8; { 1 + 4 }];
    bar().await
}

async fn bar() {}

fn main() {}