Home | Sort by relevance Sort by last modified time |
/external/clang/test/SemaCXX/ | |
cxx1y-variable-templates_top_level.cpp | 142 CONST T pi1a = T(3.1415926535897932385); // expected-note {{variable template 'pi1a' declared here}} member in namespace:explicit_instantiation 143 template int pi1a<int>; // expected-error {{type 'int' of explicit instantiation of 'pi1a' does not match expected type 'const int'}} member in namespace:explicit_instantiation 375 T pi1a = T(3.1415926535897932385); member in namespace:nested::n1 389 int i1 = pi1a<int>; 391 template float pi1a<float>; member in namespace:nested::use_n1a 393 // expected-error@-2 {{explicit instantiation of 'pi1a<float>' not in a namespace enclosing 'n1'}} 395 float f1 = pi1a<float>; 397 template<> double pi1a<double> = 5.2; // expected-error {{no variable template matches specialization} member in namespace:nested::use_n1a [all...] |