summaryrefslogtreecommitdiffstats
path: root/tests/ui/privacy/pub-use-xcrate.rs
blob: e8a6e8cf182d42154ea7382862592f216d5ecda0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// run-pass
// aux-build:pub_use_xcrate1.rs
// aux-build:pub_use_xcrate2.rs

// pretty-expanded FIXME #23616

extern crate pub_use_xcrate2;

use pub_use_xcrate2::Foo;

pub fn main() {
    let _foo: Foo = Foo {
        name: 0
    };
}