rust/tests/ui/parser/extern-crate-async.rs

13 lines
225 B
Rust

// Make sure that we don't parse `extern crate async`
// the front matter of a function leading us astray.
//@ check-pass
fn main() {}
#[cfg(FALSE)]
extern crate async;
#[cfg(FALSE)]
extern crate async as something_else;