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 Permalink 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() {}
2025-03-29 17:24:03 +00:00
#[cfg(false)]
extern crate async;
2025-03-29 17:24:03 +00:00
#[cfg(false)]
extern crate async as something_else;