Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / ttp37.C
blob4ef30dd0dd7e3114de3b8123dc554efb15da474b
1 // { dg-do run  }
2 template<int T, class U = int> class D
4         public:
5                 int f();
6 };
8 template<int T, class U> int D<T,U>::f()
10         return T+sizeof(U);
13 template<template<int> class D,class E> class C
15                 D<1> d;
16         public:
17                 int f() { return d.f(); }
20 template<template<int> class D, int T> int f(D<T> &d1)
22         d1.f();
23         return T;
26 int main()
28         D<1> c1;
29         f(c1);