]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/no-std.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / test / ui / async-await / no-std.rs
1 // edition:2018
2 // check-pass
3
4 #![no_std]
5 #![crate_type = "rlib"]
6
7 use core::future::Future;
8
9 async fn a(f: impl Future) {
10     f.await;
11 }
12
13 fn main() {}