2014-04-07 Charles Baylis <charles.baylis@linaro.org>
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr43611.C
blob6899a6ea400b6014c70c07ed71ec3c37cac49a9f
1 // { dg-do compile }
2 // { dg-options "-fkeep-inline-functions" }
4 template < typename >
5 struct A {
6   void init (int);
7   A ()
8   {
9     this->init (0);
10   }
13 template < typename >
14 struct B : A < int > {
15   A < int > a;
16   B () {}
19 extern template struct A < int >;
20 extern template struct B < int >;
22 B < int > b;