mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
13 lines
223 B
Rust
13 lines
223 B
Rust
|
//@ aux-build:foreign-priv-aux.rs
|
||
|
//@ build-pass
|
||
|
|
||
|
#![crate_type = "lib"]
|
||
|
|
||
|
extern crate foreign_priv_aux;
|
||
|
|
||
|
use foreign_priv_aux::{ImplPrivTrait, PubTrait, Wrapper};
|
||
|
|
||
|
pub fn foo(x: Wrapper<ImplPrivTrait>) {
|
||
|
x.pub_fn();
|
||
|
}
|