rust/tests/ui/async-await/issue-107036.rs
Michael Goulet 9793abc209 Add test
2023-01-19 15:46:08 +00:00

15 lines
177 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();
}