☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
access39.C
☽
☼
gcc/testsuite/g++.dg/template/access39.C
code
plain
raw
1
// PR c++/101078
2
3
struct A {
4
static void f();
5
};
6
7
template<class>
8
struct B : private A {
9
struct C {
10
void g() { f(); }
11
void g2() { B::f(); }
12
};
13
};
14
15
int main() {
16
B<int>::C().g();
17
}