summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash46.C
blob: bfdddaeaa1a779f51d696e7a3e41847318afa1a4 (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
// Origin: Leon Bottou <leonb@research.att.com>

class AA { protected:
  template <class T> struct BB { T x; BB(const T &x) : x(x) { } };
  template <class T> struct CC : public BB<T> { CC(const T &x) : BB<T>(x) { }
};
};