aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>2001-04-11 05:43:51 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2001-04-11 05:43:51 +0000
commit3a1727303c8e1305d3158f685b872c6fdf0c06e4 (patch)
tree2e3a657568bce166ae8bb38590887bb61903d691
parent06729913c75c158ece5c68bdca6794e8b61c434a (diff)
downloadgcc-3a1727303c8e1305d3158f685b872c6fdf0c06e4.zip
gcc-3a1727303c8e1305d3158f685b872c6fdf0c06e4.tar.gz
gcc-3a1727303c8e1305d3158f685b872c6fdf0c06e4.tar.bz2
22001-04-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* g++.old-deja/g++.robertl/eb42.C: Same. From-SVN: r41239
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/g++.old-deja/g++.robertl/eb42.C8
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 842a4b5..ef36674 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,4 +1,8 @@
-2001-04-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+22001-04-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
+
+ * g++.old-deja/g++.robertl/eb42.C: Same.
+
+001-04-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/wtr-conversion-1.c: New testcase.
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb42.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb42.C
index 8850f9f..c27aa8d 100644
--- a/gcc/testsuite/g++.old-deja/g++.robertl/eb42.C
+++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb42.C
@@ -1,6 +1,6 @@
//Build don't link:
-#include <vector.h>
-#include <algo.h>
+#include <vector>
+#include <algorithm>
template <class T> class Expr
{
@@ -14,6 +14,6 @@ inline bool compare(const Expr<T> a, const Expr<T> b){ return true; };
int main()
{
-vector<int> a(3);
-sort( a.begin(), a.end(), compare ); // ERROR - no matching function
+ std::vector<int> a(3);
+ std::sort( a.begin(), a.end(), compare ); // ERROR - no matching function
}