summaryrefslogtreecommitdiffstats
path: root/tests/ui/privacy/decl-macro.rs
blob: 1eb49bd530176ea49eb3908ecc6b4eca3105b0cc (plain)
1
2
3
4
5
6
7
8
9
#![feature(decl_macro)]

mod m {
    macro mac() {}
}

fn main() {
    m::mac!(); //~ ERROR macro `mac` is private
}