Skip to content

Commit 32d0081

Browse files
committed
adding tests for nested and glob use
1 parent 97f001f commit 32d0081

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// check-pass
2+
3+
#![deny(unreachable_pub)]
4+
5+
pub use self::m1::*;
6+
7+
mod m1 {
8+
pub use self::m2::*;
9+
10+
mod m2 {
11+
pub struct Item1;
12+
pub struct Item2;
13+
}
14+
}
15+
16+
17+
pub use self::o1::{ Item42, Item24 };
18+
19+
mod o1 {
20+
pub use self::o2::{ Item42, Item24 };
21+
22+
mod o2 {
23+
pub struct Item42;
24+
pub struct Item24;
25+
}
26+
}
27+
28+
fn main() {}

0 commit comments

Comments
 (0)