summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash4.C
blob: 9bdc51f24fcf5cf23174fe4e91294fcaafebb11d (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }

template <unsigned rank>
class Tensor
{
};

template <unsigned rank>
class Tensor<2> : Tensor<rank> { // { dg-error "" } template parameters not used
};