Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / qual1.C
blob8fa79b3d2e7a31ee4e37e31dbc1b38a2fdb56cb2
1 // { dg-do compile }
3 template<class T>
4 class Link_array
6 public:
7   void sort (int (*compare) (T *const&,T *const&));
8 };
10 int shift_compare (int *const &, int *const &) {}
12 template<class T> void
13 Link_array<T>::sort (int (*compare) (T *const&,T *const&)) 
17 void f ()
19   Link_array<int> clashes;
20   clashes.sort (shift_compare);