Corrected tests for http://llvm.org/bugs/show_bug.cgi?id=9351
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@128807 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/containers/associative/map/map.cons/default_recursive.pass.cpp b/test/containers/associative/map/map.cons/default_recursive.pass.cpp
index 485822d..5dab7a6 100644
--- a/test/containers/associative/map/map.cons/default_recursive.pass.cpp
+++ b/test/containers/associative/map/map.cons/default_recursive.pass.cpp
@@ -14,11 +14,12 @@
// map();
#include <map>
-#include <cassert>
+
+struct X
+{
+ std::multimap<int, X> m;
+};
int main()
{
- std::map<std::map<int,double>, std::map<int, double> > m;
- assert(m.empty());
- assert(m.begin() == m.end());
}
diff --git a/test/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp b/test/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp
deleted file mode 100644
index 2f62ea1..0000000
--- a/test/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-//===----------------------------------------------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is dual licensed under the MIT and the University of Illinois Open
-// Source Licenses. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-// <map>
-
-// class multimap
-
-// multimap();
-
-#include <map>
-#include <cassert>
-
-int main()
-{
- std::multimap<std::multimap<int,double>, std::multimap<int, double> > m;
- assert(m.empty());
- assert(m.begin() == m.end());
-}
diff --git a/test/containers/associative/multiset/multiset.cons/default_recursive.pass.cpp b/test/containers/associative/multiset/multiset.cons/default_recursive.pass.cpp
deleted file mode 100644
index 95e3e19..0000000
--- a/test/containers/associative/multiset/multiset.cons/default_recursive.pass.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-//===----------------------------------------------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is dual licensed under the MIT and the University of Illinois Open
-// Source Licenses. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-// <set>
-
-// class multiset
-
-// multiset();
-
-#include <set>
-#include <cassert>
-
-int main()
-{
- std::multiset<std::multiset<int> > m;
- assert(m.empty());
- assert(m.begin() == m.end());
-}
diff --git a/test/containers/associative/set/set.cons/default_recursive.pass.cpp b/test/containers/associative/set/set.cons/default_recursive.pass.cpp
deleted file mode 100644
index 307addf..0000000
--- a/test/containers/associative/set/set.cons/default_recursive.pass.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-//===----------------------------------------------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is dual licensed under the MIT and the University of Illinois Open
-// Source Licenses. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-// <set>
-
-// class set
-
-// set();
-
-#include <set>
-#include <cassert>
-
-int main()
-{
- std::set<std::set<int> > s;
- assert(s.empty());
- assert(s.begin() == s.end());
-}