3 mod A {} //~ ERROR the name `A` is defined multiple times
4 //~| `A` redefined here
5 pub mod B {} //~ ERROR the name `B` is defined multiple times
6 //~| `B` redefined here
9 mod D {} //~ ERROR the name `D` is defined multiple times
10 //~| `D` redefined here