aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp56.C
blob: ef6b286a6fd99004516fb9b01be57613a8a8f0f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Build don't link:
// 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 {}
};