summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ns/template4.C
blob: 0291417bab4ee0cf2520a4136536a77ddcc72662 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// { dg-do run  }
namespace NS
{
template <typename T>
void solver (){}

}

template<typename T>
void solver(){}

int main()
{
  solver<double>();
  NS::solver<double>();
}