about summary refs log tree commit diff
path: root/tests/ui/privacy/privacy-reexport.rs
blob: 74ac7cdce94fe22b69236fea66c458b7717bddd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ run-pass
//@ aux-build:privacy_reexport.rs


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();
}