2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp59.C
blob4ac85f5eec03d237019f03a42623262e9f971c4d
1 // { dg-do assemble  }
2 // GROUPS passed templates membertemplates
3 template <int N>
4 struct IndexPlaceholder {};
6 template <int N1, int N2, int N3>
7 struct ArrayIndexMapping {};
9 template <class T_numtype, int N_rank>
10 struct Array
12   template<int N0, int N1>
13   ArrayIndexMapping<N_rank, N0, N1> 
14   f(IndexPlaceholder<N0>, IndexPlaceholder<N1>);
18 template <class T_numtype>
19 void foo(T_numtype)
21   Array<T_numtype, 1> t;