Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / tempargs.C
blob5ca92350a5dda95eac05a573afdf20d8c9f1cc2a
1 // { dg-do assemble  }
2 // GROUPS passed templates overloading
3 template<class T> class Vector { };
4 template<class T> struct Sort { static void sort (Vector<typename T::foo> &); };
5 template<class T> void Sort<T>::sort (Vector<typename T::foo> &) { }
6 struct whee { typedef int foo; };
8 void f (Vector<int> &vi) { Sort<whee>::sort (vi); }