Debian Codegraph @

gcc/testsuite/g++.dg/template/access39.C

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 }