OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb39.C
1
// Build don't link:
2
#include <ctype.h>
3
#include <iostream.h>
4
// #include <streambuf.h>
5
#include <libio.h>
6
#include <strstream.h>
7
8
extern bool foo2 (ostream &out, istream &in);
9
10
bool
11
foo1 (ostream &out, const char *in)
12
{
13
strstreambuf sb (in, (int) strlen (in));
14
istream fmt (&sb);
15
return foo2 (out, fmt);
16
}