summaryrefslogtreecommitdiffstats
path: root/src/test/ui/privacy/privacy-reexport.rs
blob: b3ec3af04ace81eb03c68e5f9587b86b98556d90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-pass
// aux-build:privacy_reexport.rs

// pretty-expanded FIXME #23616

extern crate privacy_reexport;

pub fn main() {
    // Check that public extern crates are visible to outside crates
    privacy_reexport::core::cell::Cell::new(0);

    privacy_reexport::bar::frob();
}