FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / koenig1.C
blobbd721fe94e2573afe1613992396e6b06124ff674
1 // Build don't link:
2 class ostream;
3 extern ostream cout;
4 namespace foo
6   struct S
7   {
8     int i;
9   };
10   
11   extern ostream &operator<<(ostream &, const S &);
15 void bar(foo::S s)
17   cout << s ;