repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* arm.c (FL_WBUF): Define.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
koenig1.C
blob
4b4ddb18a86c1e46f9a7b0b5394b4cb8325d2b70
1
// { dg-do assemble }
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
}