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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
201 B
Rust
Raw Normal View History

fn main() {}
extern "C" {
default!(); //~ ERROR cannot find macro `default` in this scope
default do
2020-02-23 05:54:00 -06:00
//~^ ERROR `default` is not followed by an item
//~| ERROR non-item in item list
}