1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
17 #include "../../../stack_allocator.h"
18 #include "../../../NotConstructible.h"
19 #include "min_allocator.h"
21 template <class T, class Allocator>
25 std::deque<T, Allocator> d;
26 assert(d.size() == 0);
31 test<int, std::allocator<int> >();
32 test<NotConstructible, stack_allocator<NotConstructible, 1> >();
33 #if __cplusplus >= 201103L
34 test<int, min_allocator<int> >();
35 test<NotConstructible, min_allocator<NotConstructible> >();