Debian Codegraph @

gcc/testsuite/g++.dg/lookup/using30.C

raw
1 // { dg-do compile }
2
3 struct H { typedef int type; };
4 struct J : H
5 {
6 struct type {}; // { dg-message "previous" }
7 using H::type; // { dg-error "conflicts" }
8 };