☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
koenig1.C
☽
☼
gcc/testsuite/g++.old-deja/g++.ns/koenig1.C
code
plain
raw
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
}