summaryrefslogtreecommitdiffstats
path: root/libcxx/test/containers/associative/map/map.cons/default.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/containers/associative/map/map.cons/default.pass.cpp')
-rw-r--r--libcxx/test/containers/associative/map/map.cons/default.pass.cpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/libcxx/test/containers/associative/map/map.cons/default.pass.cpp b/libcxx/test/containers/associative/map/map.cons/default.pass.cpp
deleted file mode 100644
index 1832a32fffb..00000000000
--- a/libcxx/test/containers/associative/map/map.cons/default.pass.cpp
+++ /dev/null
@@ -1,40 +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 map
-
-// map();
-
-#include <map>
-#include <cassert>
-
-#include "min_allocator.h"
-
-int main()
-{
- {
- std::map<int, double> m;
- assert(m.empty());
- assert(m.begin() == m.end());
- }
-#if __cplusplus >= 201103L
- {
- std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> m;
- assert(m.empty());
- assert(m.begin() == m.end());
- }
- {
- std::map<int, double> m = {};
- assert(m.empty());
- assert(m.begin() == m.end());
- }
-#endif
-}
OpenPOWER on IntegriCloud