2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / template / koenig2.C
blobbe072a4a0ec6c0d9fe245028befb4a61f2ba9697
1 namespace nsp_foo {
3   struct A {};
5   struct foo {};
9 namespace nsp_bar {
11   void foo(nsp_foo::A) {}
13   template <class T>
14   void bar(T t)
15   {
16     nsp_bar::foo(t); // line 16
17   }
21 int main()
23   nsp_bar::bar(nsp_foo::A());