Mark new tests as unsupported before C++11

llvm-svn: 242695
This commit is contained in:
Marshall Clow 2015-07-20 19:27:47 +00:00
parent 3da0ea7f5d
commit 1aa4567712
4 changed files with 9 additions and 1 deletions

View File

@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11
// <functional>
// default searcher

View File

@ -9,6 +9,8 @@
// <functional>
// UNSUPPORTED: c++98, c++03, c++11
// default searcher
// template<class _ForwardIterator, class _BinaryPredicate = equal_to<>>
// class default_searcher {
@ -39,7 +41,7 @@ struct count_equal
{
static unsigned count;
template <class T>
bool operator()(const T& x, const T& y)
bool operator()(const T& x, const T& y) const
{++count; return x == y;}
};

View File

@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11
// <functional>
// template<class ForwardIterator, class BinaryPredicate = equal_to<>>

View File

@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11
// <functional>
// template<class ForwardIterator, class BinaryPredicate = equal_to<>>