Lines Matching full:template
1 // RUN: %clang_cc1 %s -triple i386-pc-win32 -std=c++14 -fsyntax-only -Wno-unused-getter-return-value -Wno-unused-value -Wmicrosoft -verify -fms-extensions -fms-compatibility -fdelayed-template-parsing
92 template <class T>
102 template <class T, const GUID* g = &__uuidof(T)> // expected-note {{template parameter is declared here}}
105 typedef COM_CLASS_TEMPLATE<struct_with_uuid, &*&__uuidof(struct_with_uuid)> COM_TYPE_1; // expected-warning {{non-type template argument containing a dereference operation is a Microsoft extension}}
108 template <class T, const GUID& g>
113 template<typename T>
121 COM_CLASS_TEMPLATE<int, __uuidof(struct_with_uuid)> bad_template_arg; // expected-error {{non-type template argument of type 'const _GUID' is not a constant expression}}
127 template <typename T, typename T2>
158 template <class A>
161 template <int B>
166 template<class T>
168 typename C1<T>:: /*template*/ Iterator<0> Mypos; // expected-warning {{use 'template' keyword to treat 'Iterator' as a dependent template name}}
171 template <class T>
173 typename C1<T>:: /*template*/ Iterator<0> Mypos; // expected-warning {{use 'template' keyword to treat 'Iterator' as a dependent template name}}
182 template <typename T>
185 template <class T>
202 template <typename T>
276 // Necessary to force instantiation in -fdelayed-template-parsing mode.
367 template <int *>
381 template <typename T>
406 template <typename T>