summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/koenig4.C
blob: 31e41fcf97f844a5a295684721148f04be90597d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/13978

namespace ns {
  template <class TP> void func1(TP* t);
  struct A {};
}
 
template < class TP >
void func2() {
  func1( new ns::A() );
}