URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// { dg-do assemble }
|
// { dg-do assemble }
|
#include
|
#include
|
#include
|
#include
|
#include
|
#include
|
#include
|
#include
|
|
|
using namespace std;
|
using namespace std;
|
|
|
extern bool foo2 (ostream &out, istream &in);
|
extern bool foo2 (ostream &out, istream &in);
|
|
|
bool
|
bool
|
foo1 (ostream &out, const char *in)
|
foo1 (ostream &out, const char *in)
|
{
|
{
|
string tmp(in, std::strlen(in));
|
string tmp(in, std::strlen(in));
|
stringbuf sb (tmp);
|
stringbuf sb (tmp);
|
istream fmt (&sb);
|
istream fmt (&sb);
|
return foo2 (out, fmt);
|
return foo2 (out, fmt);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.