22001-04-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* g++.old-deja/g++.robertl/eb42.C: Same. From-SVN: r41239
This commit is contained in:
parent
06729913c7
commit
3a1727303c
2 changed files with 9 additions and 5 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue