Home | History | Annotate | Download | only in SemaTemplate

Lines Matching full:template

2 template<typename T> struct A; // expected-note 4{{template is declared here}}
4 template<typename T> struct B : A<T*> { }; // expected-error{{implicit instantiation of undefined template}} \
5 // expected-error{{implicit instantiation of undefined template 'A<X *>'}}
7 template<typename T> struct C : B<T> { } ; // expected-note{{instantiation of template class}}
9 template<typename T> struct D : C<T> { }; // expected-note{{instantiation of template class}}
11 template<typename T> struct E : D<T> { }; // expected-note{{instantiation of template class}}
13 template<typename T> struct F : E<T(T)> { }; // expected-note{{instantiation of template class}}
16 (void)sizeof(F<int>); // expected-note{{instantiation of template class}}
22 (void)sizeof(B<X>); // expected-note{{in instantiation of template class 'B<X>' requested here}}
25 template<typename T>
26 struct G : A<T>, // expected-error{{implicit instantiation of undefined template 'A<int>'}}
27 A<T*> // expected-error{{implicit instantiation of undefined template 'A<int *>'}}
31 (void)sizeof(G<int>); // expected-note{{in instantiation of template class 'G<int>' requested here}}
35 template <class T> class ResultTy { // expected-warning {{does not declare any constructor}}
39 template <class T1, class T2>
41 // expected-note {{instantiation of template class 'PR13365::ResultTy<int &>'}} \
49 // expected-note {{substituting deduced template arguments into function template 'Deduce' [with T1 = PR13365::Cls, T2 = int &]}}