diff options
author | Jason Merrill <jason@gcc.gnu.org> | 1998-05-28 19:53:15 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1998-05-28 19:53:15 -0400 |
commit | 943ebe57bb38b108d0d4bdfee0fe39b86cd3adb6 (patch) | |
tree | 11e9591af10ad432ac6512ea01e68f1f1762c8c6 /gcc | |
parent | e4aa777f1951f11f4ade2bda52d3a6a0218b46c3 (diff) | |
download | gcc-943ebe57bb38b108d0d4bdfee0fe39b86cd3adb6.zip gcc-943ebe57bb38b108d0d4bdfee0fe39b86cd3adb6.tar.gz gcc-943ebe57bb38b108d0d4bdfee0fe39b86cd3adb6.tar.bz2 |
remove
From-SVN: r20129
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb42.C | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb42.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb42.C deleted file mode 100644 index 0602d16..0000000 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb42.C +++ /dev/null @@ -1,23 +0,0 @@ -#define TEMPLATE 1 -#include <vector.h> -#include <algo.h> - -template <class T> class Expr -{ -public : -Expr(){}; -Expr(const T&){}; -}; - -#ifdef TEMPLATE -template <class T > -inline bool compare(const Expr<T> a, const Expr<T> b){ return true; }; -#else -inline bool compare(const Expr<int> a, const Expr<int> b){ return true; }; -#endif - -void main() -{ -vector<int> a(3); -sort( a.begin(), a.end(), compare ); -} |