rust/tests/ui/extern/issue-95829.rs

11 lines
227 B
Rust

//@ edition:2018
extern "C" {
async fn L() { //~ ERROR: incorrect function inside `extern` block
//~^ ERROR: functions in `extern` blocks cannot have `async` qualifier
async fn M() {}
}
}
fn main() {}