summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/explicit-specialization-member.cpp
blob: 06dd382fc7a4d8c437872e1ba23aecff03900d5c (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -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);
OpenPOWER on IntegriCloud