1 // RUN: clang-cc -fsyntax-only -verify %s
2 template<typename T>
3 struct X0 {
4   typedef T* type;
5 
6   void f0(T);
7   void f1(type);
8 };
9 
10 template<> void X0<char>::f0(char);
11 template<> void X0<char>::f1(type);
12