summaryrefslogtreecommitdiffstats
path: root/tests/ui/hygiene/intercrate.rs
blob: 2de62f6aff77f041236be88a0d2e967078bfd2fc (plain)
1
2
3
4
5
6
7
8
9
10
// aux-build:intercrate.rs

#![feature(decl_macro)]

extern crate intercrate;

fn main() {
    assert_eq!(intercrate::foo::m!(), 1);
    //~^ ERROR type `fn() -> u32 {foo::bar::f}` is private
}