]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/default-unmatched-extern.rs
parse: use `parse_item_common` in `parse_foreign_item`.
[rust.git] / src / test / ui / parser / default-unmatched-extern.rs
1 fn main() {}
2
3 extern "C" {
4     default!(); //~ ERROR cannot find macro `default` in this scope
5     default do
6     //~^ ERROR unmatched `default`
7     //~| ERROR non-item in item list
8 }