mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-27 18:56:24 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
13 lines
252 B
Rust
13 lines
252 B
Rust
//@ 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();
|
|
}
|