Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
koenig1.C
blob: 4b4ddb18a86c1e46f9a7b0b5394b4cb8325d2b70 [
file
] [
log
] [
blame
]
// { dg-do assemble }
class
ostream
;
extern
ostream cout
;
namespace
foo
{
struct
S
{
int
i
;
};
extern
ostream
&
operator
<<(
ostream
&,
const
S
&);
}
void
bar
(
foo
::
S s
)
{
cout
<<
s
;
}