]> git.lizzy.rs Git - rust.git/blob - tests/ui/privacy/privacy-reexport.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / privacy / privacy-reexport.rs
1 // run-pass
2 // aux-build:privacy_reexport.rs
3
4 // pretty-expanded FIXME #23616
5
6 extern crate privacy_reexport;
7
8 pub fn main() {
9     // Check that public extern crates are visible to outside crates
10     privacy_reexport::core::cell::Cell::new(0);
11
12     privacy_reexport::bar::frob();
13 }