Lines Matching full:template
3 template<typename T, typename U> void f(U);
4 template<int> void f();
19 template <typename T>
25 // CHECK: DRE::template foo<int>;
26 DRE::template foo<int>;
29 // CHECK: DRE::template foo<int>();
30 DRE::template foo<int>();
40 template <typename T>
48 // CHECK: s.template mem<int>();
49 s.template mem<int>();
58 template <typename T>
61 template <typename T>
65 // CHECK: ULE::template foo<T>;
66 ULE::template foo<T>;
76 template <typename T>
80 template <typename U>
85 // CHECK: s.template mem<U>();
86 s.template mem<U>();
95 template <typename T>
98 template <typename T>
102 // CHECK: S<T>::template foo;
103 S<T>::template foo;
104 // CHECK: S<T>::template foo<>;
105 S<T>::template foo<>;
106 // CHECK: S<T>::template foo<T>;
107 S<T>::template foo<T>;
116 template <typename T>
119 template <typename T>
124 // CHECK: s.template foo;
125 s.template foo;
126 // CHECK: s.template foo<>;
127 s.template foo<>;
128 // CHECK: s.template foo<T>;
129 s.template foo<T>;
136 template <typename T> void foo() {
137 // CHECK: T::template bar();
138 T::template bar();