summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/niklas01b.C
blob: e17b929355f36944ca918dca3c6a480403a44a17 (plain)
1
2
3
4
5
6
// { dg-do assemble  }

template <class T> struct A { T *t; inline A() { t = 0; } };
template <class T> struct B : A<B<T> > { int x; inline B() { x = 3; } };

B<int> x;