Debian Codegraph @

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

raw
1 // Origin: PR c++/48656
2 // { dg-do compile { target c++11 } }
3
4 struct A {
5 int f();
6 int f(int);
7 };
8
9 template <typename> struct B : A
10 {
11 };
12
13 template <typename T> struct C : B<T>
14 {
15 void
16 g()
17 {
18 A::f();
19 }
20 };