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
New test case.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
koenig1.C
1
// Build don't link:
2
class ostream;
3
extern ostream cout;
4
namespace foo
5
{
6
struct S
7
{
8
int i;
9
};
10
11
extern ostream &operator<<(ostream &, const S &);
12
}
13
14
15
void bar(foo::S s)
16
{
17
cout << s ;
18
}