about summary refs log tree commit diff
path: root/tests/ui/macros/macro-use-wrong-name.rs
blob: b3c11e77d3b1da721b90648a15b5c00d575fe0c6 (plain)
1
2
3
4
5
6
7
8
9
//@ aux-build:two_macros.rs

#[macro_use(macro_one)]
extern crate two_macros;

pub fn main() {
    macro_two!();
    //~^ ERROR cannot find macro
}