summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/extern-crate-async.rs
blob: 6a54ac7f4a520eb8d6549f0140e3470ec37aab41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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;