rust/tests/ui/async-await/issue-107036.rs
2024-02-16 20:02:50 +00:00

15 lines
180 B
Rust

//@ 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();
}