Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Douglas Gregor | 7dfd0fb | 2009-09-24 23:39:01 +0000 | [diff] [blame] | 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); |