blob: 9f6ee5f43e0e4adcda0097564ea9e12a3afd24f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// { dg-do run }
#include <iostream>
#include <iterator>
#include <string>
std::ostream_iterator<std::string> oo(std::cout);
int main()
{
*oo = "Hello, ";
++oo;
*oo = "world!\n";
}
|