Sign in
gnu
/
gcc
/
1126a05deadda1ef363e0f78fd802c8ee0ea5b56
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
koenig1.C
blob: bd721fe94e2573afe1613992396e6b06124ff674 [
file
] [
log
] [
blame
]
// Build don't link:
class
ostream
;
extern
ostream cout
;
namespace
foo
{
struct
S
{
int
i
;
};
extern
ostream
&
operator
<<(
ostream
&,
const
S
&);
}
void
bar
(
foo
::
S s
)
{
cout
<<
s
;
}