Daily bump.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb41.C
blob37422fbd6ecd4fef818d88eef566c6a551602f65
1 // { dg-do run  }
2 // { dg-skip-if "requires hosted libstdc++ for iostream" { ! hostedlib } }
3 #include <iostream>
4 #include <iterator>
5 #include <string>
7 std::ostream_iterator<std::string> oo(std::cout);
9 int main()
11     *oo = "Hello, ";
12     ++oo;
13     *oo = "world!\n";