summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro_undefined.rs
blob: 6ca1eb568616c0a479a4f2215fe3dac471bd112e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Test macro_undefined issue

mod m {
    #[macro_export]
    macro_rules! kl {
        () => ()
    }
}

fn main() {
    k!(); //~ ERROR cannot find
    kl!();
}