2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp65.C
blob76eab7f1f3003cf7927938dd6d6475ac35df908c
1 // { dg-do assemble  }
3 template<unsigned int n> struct PartialDotProduct {
4     template<class T>
5     static T Expand(T* a, T* b) { return T(); }
6 };
8 const int N = 10;
10 template<class In1, class In2>
11 void
12 dot(In1 f1, In2 f2)
14   PartialDotProduct<N>::Expand(f1, f2);
18 int main()
20   double a[N], b[N];
21   
22   dot(&a[0], &b[0]);