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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
225 B
Rust
Raw Normal View History

// 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;