summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/associative/multiset/insert_rv.pass.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-04-18 20:58:03 +0000
committerEric Fiselier <eric@efcs.ca>2017-04-18 20:58:03 +0000
commit922940b62776d04e8c7147eaac8e8bebe069f21c (patch)
tree52c624be49c71b0dd3bdbd9c99852a4d73c002ac /libcxx/test/std/containers/associative/multiset/insert_rv.pass.cpp
parenta0320b97fa703a90b4d6613e37dae51c99735918 (diff)
downloadbcm5719-llvm-922940b62776d04e8c7147eaac8e8bebe069f21c.tar.gz
bcm5719-llvm-922940b62776d04e8c7147eaac8e8bebe069f21c.zip
Cleanup _LIBCPP_HAS_NO_<c++11-feature> for std::set and std::multiset
llvm-svn: 300595
Diffstat (limited to 'libcxx/test/std/containers/associative/multiset/insert_rv.pass.cpp')
-rw-r--r--libcxx/test/std/containers/associative/multiset/insert_rv.pass.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/libcxx/test/std/containers/associative/multiset/insert_rv.pass.cpp b/libcxx/test/std/containers/associative/multiset/insert_rv.pass.cpp
index 3ee464bc5bc..68d348793c4 100644
--- a/libcxx/test/std/containers/associative/multiset/insert_rv.pass.cpp
+++ b/libcxx/test/std/containers/associative/multiset/insert_rv.pass.cpp
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+// UNSUPPORTED: c++98, c++03
+
// <set>
// class multiset
@@ -21,7 +23,6 @@
int main()
{
-#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
{
typedef std::multiset<MoveOnly> M;
typedef M::iterator R;
@@ -46,8 +47,6 @@ int main()
assert(m.size() == 4);
assert(*r == 3);
}
-#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
-#if TEST_STD_VER >= 11
{
typedef std::multiset<MoveOnly, std::less<MoveOnly>, min_allocator<MoveOnly>> M;
typedef M::iterator R;
@@ -72,5 +71,4 @@ int main()
assert(m.size() == 4);
assert(*r == 3);
}
-#endif
}
OpenPOWER on IntegriCloud