summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/issue-68523-start.rs
blob: 5adc28b203a47f92ec7c0dfa8f930441e22028f0 (plain)
1
2
3
4
5
6
7
8
9
// edition:2018

#![feature(start)]

#[start]
pub async fn start(_: isize, _: *const *const u8) -> isize {
//~^ ERROR `#[start]` function is not allowed to be `async`
    0
}