]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/async.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / pretty / async.rs
1 // pp-exact
2 // pretty-compare-only
3 // edition:2021
4
5 async fn f() {
6     let first = async { 1 };
7     let second = async move { 2 };
8     join(first, second).await
9 }