1// { dg-do compile }
2// { dg-options "-fkeep-inline-functions" }
3
4template < typename >
5struct A {
6  void init (int);
7  A ()
8  {
9    this->init (0);
10  }
11};
12
13template < typename >
14struct B : A < int > {
15  A < int > a;
16  B () {}
17};
18
19extern template struct A < int >;
20extern template struct B < int >;
21
22B < int > b;
23