test: Add a test case for "pub use a::*"

This commit is contained in:
Patrick Walton 2012-10-03 15:18:28 -07:00
parent 35598b4595
commit d936773e56
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
mod a {
pub fn f() {}
pub fn g() {}
}
mod b {
pub use a::*;
}
fn main() {
b::f();
b::g();
}