[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / using59.C
blob3c3a73c28d59ea34eb9fcadbb8ba81aac97e580c
2 namespace Y
4   extern int I; //  { dg-message "previous declaration" }
7 using Y::I;
8 extern int I; // { dg-error "conflicts with a previous" }
10 extern int J;
11 extern int J; //  { dg-message "previous declaration" }
12 extern char J; // { dg-error "conflicting declaration" }