mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
14 lines
285 B
Rust
14 lines
285 B
Rust
//@ 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();
|
|
}
|