summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp56.C
blob: 2000a351c1858882e35c6de86735e905e0c7bdd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }
// GROUPS passed templates membertemplates
template<class P_numtype, int N_length>
class TinyVector {};

template<class P_numtype, int N_rank>
struct Array 
{
    template<int N_rank2>
    Array() {}
  
    template<int N_rank2>
    P_numtype operator()(const TinyVector<int,N_rank2>& index) const {}
};