summaryrefslogtreecommitdiffstats
path: root/tests/ui/keyword/extern/keyword-extern-as-identifier-use.rs
blob: a46ce67d40d5a709d60fbba06c2e7a3adc612286 (plain)
1
2
3
4
use extern::foo; //~ ERROR expected identifier, found keyword `extern`
                 //~| ERROR unresolved import `r#extern`

fn main() {}