summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-use-wrong-name.rs
blob: d142b5800034ba50bdab1afae648cae6a386d174 (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
}