URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.robertl/] [eb41.C] - Rev 822
Go to most recent revision | Compare with Previous | Blame | View Log
// { 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";
}
Go to most recent revision | Compare with Previous | Blame | View Log