aboutsummaryrefslogtreecommitdiff
path: root/test/SemaTemplate/explicit-specialization-member.cpp
blob: 197dae5a15afd139c5ec69b6e2ef49445b37e718 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// RUN: clang-cc -fsyntax-only -verify %s
template<typename T>
struct X0 {
  typedef T* type;
  
  void f0(T);
  void f1(type);
};

template<> void X0<char>::f0(char);
template<> void X0<char>::f1(type);