[cfe-commits] [libcxx] r128807 - in /libcxx/trunk/test/containers/associative: map/map.cons/default_recursive.pass.cpp multimap/multimap.cons/default_recursive.pass.cpp multiset/multiset.cons/default_recursive.pass.cpp set/set.cons/default_recursive.pass.cpp

Howard Hinnant hhinnant at apple.com
Sun Apr 3 18:42:30 PDT 2011


Author: hhinnant
Date: Sun Apr  3 20:42:30 2011
New Revision: 128807

URL: http://llvm.org/viewvc/llvm-project?rev=128807&view=rev
Log:
Corrected tests for http://llvm.org/bugs/show_bug.cgi?id=9351

Removed:
    libcxx/trunk/test/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp
    libcxx/trunk/test/containers/associative/multiset/multiset.cons/default_recursive.pass.cpp
    libcxx/trunk/test/containers/associative/set/set.cons/default_recursive.pass.cpp
Modified:
    libcxx/trunk/test/containers/associative/map/map.cons/default_recursive.pass.cpp

Modified: libcxx/trunk/test/containers/associative/map/map.cons/default_recursive.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/containers/associative/map/map.cons/default_recursive.pass.cpp?rev=128807&r1=128806&r2=128807&view=diff
==============================================================================
--- libcxx/trunk/test/containers/associative/map/map.cons/default_recursive.pass.cpp (original)
+++ libcxx/trunk/test/containers/associative/map/map.cons/default_recursive.pass.cpp Sun Apr  3 20:42:30 2011
@@ -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());
 }

Removed: libcxx/trunk/test/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp?rev=128806&view=auto
==============================================================================
--- libcxx/trunk/test/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp (original)
+++ libcxx/trunk/test/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp (removed)
@@ -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());
-}

Removed: libcxx/trunk/test/containers/associative/multiset/multiset.cons/default_recursive.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/containers/associative/multiset/multiset.cons/default_recursive.pass.cpp?rev=128806&view=auto
==============================================================================
--- libcxx/trunk/test/containers/associative/multiset/multiset.cons/default_recursive.pass.cpp (original)
+++ libcxx/trunk/test/containers/associative/multiset/multiset.cons/default_recursive.pass.cpp (removed)
@@ -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());
-}

Removed: libcxx/trunk/test/containers/associative/set/set.cons/default_recursive.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/containers/associative/set/set.cons/default_recursive.pass.cpp?rev=128806&view=auto
==============================================================================
--- libcxx/trunk/test/containers/associative/set/set.cons/default_recursive.pass.cpp (original)
+++ libcxx/trunk/test/containers/associative/set/set.cons/default_recursive.pass.cpp (removed)
@@ -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());
-}





More information about the cfe-commits mailing list