Test that async/await compiles with #![no_std]

This commit is contained in:
Jonas Schievink 2020-02-10 17:35:58 +01:00
parent dfcfa170f5
commit f79a95a65d

View File

@ -0,0 +1,13 @@
// edition:2018
// check-pass
#![no_std]
#![crate_type = "rlib"]
use core::future::Future;
async fn a(f: impl Future) {
f.await;
}
fn main() {}