summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/extern-foreign-crate.rs
blob: a5da77dc76361e35252564d2e47efb2f59e5d63e (plain)
1
2
3
4
// Verifies that the expected token errors for `extern crate` are
// raised

extern crate foo {} //~ERROR expected one of `;` or `as`, found `{`