blob: 4b4ddb18a86c1e46f9a7b0b5394b4cb8325d2b70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// { 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 ;
}
|