]> git.lizzy.rs Git - rust.git/blob - tests/pretty/async.rs
Rollup merge of #107731 - RalfJung:interpret-discriminant, r=cjgillot
[rust.git] / tests / 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 }