]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/lookup/using59.C
gcc/cp/
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / lookup / using59.C
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" }