rust/tests/ui/macros/macro-use-wrong-name.rs

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

10 lines
148 B
Rust
Raw Permalink Normal View History

2015-01-02 20:50:45 +00:00
//@ aux-build:two_macros.rs
#[macro_use(macro_one)]
extern crate two_macros;
pub fn main() {
macro_two!();
//~^ ERROR cannot find macro
2015-01-02 20:50:45 +00:00
}