(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
inherit7.C
// Origin: PR c++/48656
// { dg-do compile { target c++11 } }

struct A {
 int f();
 int f(int);
};

template <typename> struct B : A
{
};

template <typename T> struct C : B<T>
{
    void
    g()
    {
        A::f();
    }
};