summaryrefslogtreecommitdiffstats
path: root/src/test/pretty/async.rs
blob: 573e79bffd7ef579e4fedd0343aa840c76e6161f (plain)
1
2
3
4
5
6
7
8
9
// pp-exact
// pretty-compare-only
// edition:2021

async fn f() {
    let first = async { 1 };
    let second = async move { 2 };
    join(first, second).await
}