☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using30.C
☽
☼
gcc/testsuite/g++.dg/lookup/using30.C
code
plain
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
};