URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.robertl/] [eb39.C] - Rev 305
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
#include <cctype>
#include <iostream>
#include <sstream>
#include <cstring>
using namespace std;
extern bool foo2 (ostream &out, istream &in);
bool
foo1 (ostream &out, const char *in)
{
string tmp(in, std::strlen(in));
stringbuf sb (tmp);
istream fmt (&sb);
return foo2 (out, fmt);
}
Go to most recent revision | Compare with Previous | Blame | View Log