1
2 namespace Y
3 {
4 extern int I; // { dg-message "previous declaration" }
5 }
6
7 using Y::I;
8 extern int I; // { dg-error "conflicts with a previous" }
9
10 extern int J;
11 extern int J; // { dg-message "previous declaration" }
12 extern char J; // { dg-error "conflicting declaration" }
13