summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/error18.C
blob: 7b7151a3b7f49a07f57ac4e828a5be55a1d86125 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/20157

template<typename AT>
struct A{
  template<typename T>
  void function(T);
};

template<>
template<typename ABC,typename DEF>
void A<int>::function(ABC); // { dg-error "match" }