temporary add to fix file in CVS
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb42.C
blob8850f9fa63981707aa80e324ca4755eca909b640
1 //Build don't link:
2 #include <vector.h>
3 #include <algo.h>
5 template <class T> class Expr
7 public :
8 Expr(){};
9 Expr(const T&){};
12 template <class T >
13 inline bool compare(const Expr<T> a, const Expr<T> b){ return true; };
15 int main()
17 vector<int>     a(3);
18 sort( a.begin(), a.end(), compare ); // ERROR - no matching function