PR middle-end/77674
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / using30.C
blob3fbe96c3ce8e3c4c3764f7e5023ea5974830ad6b
1 // { dg-do compile }
3 struct H { typedef int type; };
4 struct J : H
6   struct type {}; // { dg-message "previous" }
7   using H::type; // { dg-error "conflicts" }
8 };