summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/default-unmatched-extern.rs
blob: 8d0ea590f573fa895490018c81ac3723cb132a98 (plain)
1
2
3
4
5
6
7
8
fn main() {}

extern "C" {
    default!(); //~ ERROR cannot find macro `default` in this scope
    default do
    //~^ ERROR `default` is not followed by an item
    //~| ERROR non-item in item list
}