summaryrefslogtreecommitdiffstats
path: root/libcxx/test/containers/sequences/deque/deque.cons/alloc.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/containers/sequences/deque/deque.cons/alloc.pass.cpp')
-rw-r--r--libcxx/test/containers/sequences/deque/deque.cons/alloc.pass.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/test/containers/sequences/deque/deque.cons/alloc.pass.cpp b/libcxx/test/containers/sequences/deque/deque.cons/alloc.pass.cpp
index 3e635b1dbbb..e23e50003aa 100644
--- a/libcxx/test/containers/sequences/deque/deque.cons/alloc.pass.cpp
+++ b/libcxx/test/containers/sequences/deque/deque.cons/alloc.pass.cpp
@@ -16,6 +16,7 @@
#include "../../../test_allocator.h"
#include "../../../NotConstructible.h"
+#include "../../../min_allocator.h"
template <class T, class Allocator>
void
@@ -30,4 +31,8 @@ int main()
{
test<int>(std::allocator<int>());
test<NotConstructible>(test_allocator<NotConstructible>(3));
+#if __cplusplus >= 201103L
+ test<int>(min_allocator<int>());
+ test<NotConstructible>(min_allocator<NotConstructible>{});
+#endif
}
OpenPOWER on IntegriCloud