2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / template11.C
blob4363773cd7d132fa8f87bdb0b4325d11dd488b69
1 // { dg-do run  }
2 void foo(){}
4 namespace Bar{
5   template<class X>
6     class Y{
7       friend void foo(Y<X>){}
8     };
11 int main()
13   Bar::Y<int> y;
14   foo(y);
15   foo();