about summary refs log tree commit diff
path: root/tests/ui/parser/extern-crate-async.rs
blob: 13bd786d09219c01a0f829758f67bacc313f133a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Make sure that we don't parse `extern crate async` as
// the front matter of a function leading us astray.

//@ edition: 2015
//@ check-pass

fn main() {}

#[cfg(false)]
extern crate async;

#[cfg(false)]
extern crate async as something_else;