mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 04:27:38 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
11 lines
167 B
Rust
11 lines
167 B
Rust
//@ run-pass
|
|
//@ aux-build:impl_privacy_xc_1.rs
|
|
|
|
|
|
extern crate impl_privacy_xc_1;
|
|
|
|
pub fn main() {
|
|
let fish = impl_privacy_xc_1::Fish { x: 1 };
|
|
fish.swim();
|
|
}
|