Lines Matching full:instantiation
126 template float pi0a<int>; // expected-error {{type 'float' of explicit instantiation of 'pi0a' does not match expected type 'int'}}
130 template CONST int pi0b<int>; // expected-error {{type 'const int' of explicit instantiation of 'pi0b' does not match expected type 'int'}}
134 template int pi0c<const int>; // expected-error {{type 'int' of explicit instantiation of 'pi0c' does not match expected type 'const int'}}
138 template int pi0<int>; // expected-note {{previous explicit instantiation is here}}
139 template int pi0<int>; // expected-error {{duplicate explicit instantiation of 'pi0<int>'}}
143 template int pi1a<int>; // expected-error {{type 'int' of explicit instantiation of 'pi1a' does not match expected type 'const int'}}
147 template int pi1b<const int>; // expected-error {{type 'int' of explicit instantiation of 'pi1b' does not match expected type 'const const int'}}
151 template CONST int pi1<int>; // expected-note {{previous explicit instantiation is here}}
152 template CONST int pi1<int>; // expected-error {{duplicate explicit instantiation of 'pi1<int>'}}
157 template auto var0<int>; // expected-error {{'auto' variable template instantiation is not allowed}}
261 template float pi0<int>; // expected-error {{type 'float' of explicit instantiation of 'pi0' does not match expected type}}
273 template int pi0<int>; // expected-note 2{{explicit instantiation first required here}}
274 template<> int pi0<int> = 10; // expected-error {{explicit specialization of 'pi0' after instantiation}}
275 template<> float pi0<int>; // expected-error {{explicit specialization of 'pi0' after instantiation}}
377 // expected-note@-2 {{explicit instantiation refers here}}
383 // expected-note@-2 {{explicit instantiation refers here}}
393 // expected-error@-2 {{explicit instantiation of 'pi1a<float>' not in a namespace enclosing 'n1'}}
406 // expected-error@-2 {{explicit instantiation of 'pi1b<float>' not in a namespace enclosing 'n1'}}