]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/async.rs
Sync rust-lang/portable-simd@03f6fbb21e6050da2a05b3ce8f480c020b384916
[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 }