summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/no-std.rs
blob: 63e93cdff7e7729465df974e48e7a99cdebb994d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// edition:2018
// check-pass

#![no_std]
#![crate_type = "rlib"]

use core::future::Future;

async fn a(f: impl Future) {
    f.await;
}

fn main() {}