1 // { dg-do run { target c++11 } }
3 // Bug 90389 - std::deque::emplace tries to call wrong overload internally
6 #include <testsuite_hooks.h>
11 X(void*, void*, std::size_t) { }
19 d
.emplace(d
.begin(), nullptr, nullptr, d
.size());
20 VERIFY( d
.size() == n
+1 );
26 Y(std::size_t, const Y
&) { }
35 d
.emplace(d
.begin(), d
.size(), y
);
36 VERIFY( d
.size() == n
+1 );