Fortran: ICE in gfc_conv_expr_present w. defined assignment [PR118640]
[gcc.git] / libstdc++-v3 / testsuite / 23_containers / vector / allocator / 115854.cc
blob6c9016b311f230b36eecffe293eb3b77a00d1451
1 // { dg-do compile { target c++11 } }
3 #include <vector>
4 #include <testsuite_allocator.h>
6 __gnu_test::ExplicitConsAlloc<int> alloc;
7 std::vector<int, __gnu_test::ExplicitConsAlloc<int>> v;
8 std::vector<int, __gnu_test::ExplicitConsAlloc<int>> v1(alloc);
9 std::vector<int, __gnu_test::ExplicitConsAlloc<int>> v2(v1, alloc);
10 std::vector<int, __gnu_test::ExplicitConsAlloc<int>> v3(std::move(v1), alloc);