summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/inherit5.C
blob: cd22f5b10c9c38f354cbe8008e3156bdda3b996b (plain)
1
2
3
4
5
6
7
8
9
10
11
struct A
{
  template<int> void foo();
};

template<int N> struct B : A
{
  B() { foo<N>(); }
};

B<0> b;