summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp')
-rw-r--r--libcxx/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/libcxx/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp b/libcxx/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp
new file mode 100644
index 00000000000..8b393d3c91c
--- /dev/null
+++ b/libcxx/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp
@@ -0,0 +1,29 @@
+//===----------------------------------------------------------------------===//
+//
+// 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>
+
+#if !__has_feature(cxx_noexcept)
+
+struct X
+{
+ std::map<int, X> m;
+};
+
+#endif
+
+int main()
+{
+}
OpenPOWER on IntegriCloud