aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash15.C
blob: 75b10544ac9da52c17a4523b83990c1a8a1e533b (plain)
1
2
3
4
5
6
7
8
9
10
// Build don't link:

template <class T>
template <class U>
struct A { // ERROR - too many template parameter lists
public:
  A() {}

  A(const A<T>& b) {} // ERROR - invalid use of template
};