Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / koenig3.C
blobf90059d653b73eac2c0a8171cfa70d651570924e
1 // PR c++/13157
3 namespace aa
5   double abs(double);
6   long double abs(long double);
9 namespace fu
11   template <class T>
12   struct X
13   {};
14   
15   template <class T>
16   X<T> test(X<T> x)
17   {
18     using ::aa::abs;
19     return abs(x);
20   }
21   
22   template <class T>
23   X<T> abs(X<T>);
24   
25   X<int> x;
26   X<int> z = test(x);