rust/src/test/run-pass/reexport-star.rs

15 lines
115 B
Rust
Raw Normal View History

mod a {
pub fn f() {}
pub fn g() {}
}
mod b {
pub use a::*;
}
fn main() {
b::f();
b::g();
}