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

extern "C" mod foo; //~ERROR expected `{`, found keyword `mod`