]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc
stl_list.h (list<>::insert(iterator, size_type, const value_type&), [...]): Adjust...
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / ext / vstring / modifiers / insert / char / const_iterator.cc
index 223ab66ab7d685852a4eec615492d5aae351cf4c..6e922a0b719367b4006908c77921b5bf78314d3b 100644 (file)
@@ -23,5 +23,8 @@
 void test01() 
 {
   __gnu_cxx::__vstring vs1;
-  vs1.insert(vs1.cbegin(), '1');
+  __gnu_cxx::__vstring::iterator it = vs1.insert(vs1.cbegin(), '1');
+  it = vs1.insert(vs1.cbegin(), 1, '2');
+  it = vs1.insert(vs1.cbegin(), {'3', '4'});
+  it = vs1.insert(vs1.cbegin(), vs1.begin(), vs1.end());
 }