mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-18 16:31:12 +08:00
temporary add to fix file in CVS
From-SVN: r85917
This commit is contained in:
parent
414adbdd70
commit
6420eeff02
@ -1,6 +1,6 @@
|
||||
//Build don't link:
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <vector.h>
|
||||
#include <algo.h>
|
||||
|
||||
template <class T> class Expr
|
||||
{
|
||||
@ -14,6 +14,6 @@ inline bool compare(const Expr<T> a, const Expr<T> b){ return true; };
|
||||
|
||||
int main()
|
||||
{
|
||||
std::vector<int> a(3);
|
||||
std::sort( a.begin(), a.end(), compare ); // ERROR - no matching function
|
||||
vector<int> a(3);
|
||||
sort( a.begin(), a.end(), compare ); // ERROR - no matching function
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user