rust/tests/ui/async-await/issue-107036.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
180 B
Rust
Raw Normal View History

2023-01-18 12:11:19 -06:00
//@ 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();
}