forked from OSchip/llvm-project
Mark new tests as unsupported before C++11
llvm-svn: 242695
This commit is contained in:
parent
3da0ea7f5d
commit
1aa4567712
|
@ -7,6 +7,8 @@
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
// UNSUPPORTED: c++98, c++03, c++11
|
||||||
|
|
||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// default searcher
|
// default searcher
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
|
|
||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
|
// UNSUPPORTED: c++98, c++03, c++11
|
||||||
|
|
||||||
// default searcher
|
// default searcher
|
||||||
// template<class _ForwardIterator, class _BinaryPredicate = equal_to<>>
|
// template<class _ForwardIterator, class _BinaryPredicate = equal_to<>>
|
||||||
// class default_searcher {
|
// class default_searcher {
|
||||||
|
@ -39,7 +41,7 @@ struct count_equal
|
||||||
{
|
{
|
||||||
static unsigned count;
|
static unsigned count;
|
||||||
template <class T>
|
template <class T>
|
||||||
bool operator()(const T& x, const T& y)
|
bool operator()(const T& x, const T& y) const
|
||||||
{++count; return x == y;}
|
{++count; return x == y;}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
// UNSUPPORTED: c++98, c++03, c++11
|
||||||
|
|
||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// template<class ForwardIterator, class BinaryPredicate = equal_to<>>
|
// template<class ForwardIterator, class BinaryPredicate = equal_to<>>
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
// UNSUPPORTED: c++98, c++03, c++11
|
||||||
|
|
||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// template<class ForwardIterator, class BinaryPredicate = equal_to<>>
|
// template<class ForwardIterator, class BinaryPredicate = equal_to<>>
|
||||||
|
|
Loading…
Reference in New Issue