aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/inherit9.C
blob: 926343b4e239f9688a0f59a5cf7397cd865f3188 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/58273

class A {};
class B
{
  int goo(A);
};
template<typename E>
class D : public B
{
  void foo(A t)
  {
    int const i(B::goo(t));
  }
};