Files
rust/tests/ui/privacy/privacy-reexport.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
252 B
Rust
Raw Normal View History

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