]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/ext/vstring/modifiers/insert/wchar_t/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 / wchar_t / const_iterator.cc
index 57fee54fdc46c3cafdd13f464283a2207e561683..86e949e578ab3a581e224b9b380fb15973f9c2b1 100644 (file)
@@ -23,5 +23,8 @@
 void test01() 
 {
   __gnu_cxx::__wvstring wvs1;
-  wvs1.insert(wvs1.cbegin(), L'1');
+  __gnu_cxx::__wvstring::iterator it = wvs1.insert(wvs1.cbegin(), L'1');
+  it = wvs1.insert(wvs1.cbegin(), 1, L'2');
+  it = wvs1.insert(wvs1.cbegin(), {L'3', L'4'});
+  it = wvs1.insert(wvs1.cbegin(), wvs1.begin(), wvs1.end());
 }