(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
inherit5.C
struct A
{
  template<int> void foo();
};

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

B<0> b;