Daily bump.
[gcc.git] / libstdc++-v3 / testsuite / 23_containers / deque / modifiers / insert / 118035.cc
bloba37d3dc3d04cba599601709db97b3908b635d67e
1 // { dg-do run }
3 #include <deque>
4 #include <testsuite_hooks.h>
6 struct Sparks
8 Sparks& operator=(const Sparks& s)
10 VERIFY( this != &s ); // This town ain't big enough for the both of us.
11 return *this;
15 void
16 test_pr118035()
18 std::deque<Sparks> d(3, Sparks());
19 Sparks s[1];
20 d.insert(d.begin() + 1, s, s);
23 int main()
25 test_pr118035();