summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/issue-107036.rs
blob: 6a22de2c94354ae3e35df097442a0681b2ad1515 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// aux-build:issue-107036.rs
// edition:2021
// check-pass

extern crate issue_107036;
use issue_107036::S;

async fn f() {
    S{}.f().await;
}

fn main() {
    let _ = f();
}