]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/default-unmatched-extern.rs
Rollup merge of #106605 - notriddle:notriddle/outdated-rustbook, r=GuillaumeGomez
[rust.git] / tests / 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 `default` is not followed by an item
7     //~| ERROR non-item in item list
8 }