diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-04-04 01:42:30 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-04-04 01:42:30 +0000 |
commit | e4b11156d74fd151c34bae7e2cdbd0e41f6e69f6 (patch) | |
tree | 64f386a8cd62199b6d98d3cb27bd094e69475839 /libcxx/test/containers/associative/map/map.cons/default_recursive.pass.cpp | |
parent | 2d9c47ea6cd3a42fae439f3d0285eec5af66ff4a (diff) | |
download | bcm5719-llvm-e4b11156d74fd151c34bae7e2cdbd0e41f6e69f6.tar.gz bcm5719-llvm-e4b11156d74fd151c34bae7e2cdbd0e41f6e69f6.zip |
Corrected tests for http://llvm.org/bugs/show_bug.cgi?id=9351
llvm-svn: 128807
Diffstat (limited to 'libcxx/test/containers/associative/map/map.cons/default_recursive.pass.cpp')
-rw-r--r-- | libcxx/test/containers/associative/map/map.cons/default_recursive.pass.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libcxx/test/containers/associative/map/map.cons/default_recursive.pass.cpp b/libcxx/test/containers/associative/map/map.cons/default_recursive.pass.cpp index 485822d4978..5dab7a6faeb 100644 --- a/libcxx/test/containers/associative/map/map.cons/default_recursive.pass.cpp +++ b/libcxx/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()); } |