rust/tests/ui/parser/default-unmatched-extern.rs
2023-01-11 09:32:08 +00:00

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
}