Shih-wei Liao | f8fd82b | 2010-02-10 11:10:31 -0800 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -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); |