Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr67600.C
blob: 0206cae186c488552508de6447e760c1fbac623d [
file
] [
log
] [
blame
]
// { dg-do run }
#include
<iostream>
#include
<sstream>
int
main
()
{
std
::
basic_ostringstream
<char>
ostr
;
std
::
ostreambuf_iterator
<char>
iter
(
ostr
.
rdbuf
());
*
iter
++
=
'X'
;
std
::
cout
<<
ostr
.
str
()
<<
'\n'
;
return
0
;
}