rust/tests/ui/parser/default-unmatched-extern.rs

9 lines
201 B
Rust

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
}