about summary refs log tree commit diff
path: root/tests/ui/async-await/issue-107036.rs
blob: 917eef2e5ced9e291c0b85c9550a316c16975753 (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();
}