| Home | Sort by relevance Sort by last modified time |
| /external/clang/test/SemaCXX/ | |
| cxx1y-variable-templates_top_level.cpp | 147 CONST T pi1a = T(3.1415926535897932385); // expected-note {{variable template 'pi1a' declared here}} member in namespace:explicit_instantiation 148 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 391 T pi1a = T(3.1415926535897932385); // expected-note {{explicitly specialized declaration is here}} member in namespace:nested::n1 405 int i1 = pi1a<int>; 407 template float pi1a<float>; member in namespace:nested::use_n1a 409 // expected-error@-2 {{explicit instantiation of 'pi1a<float>' not in a namespace enclosing 'n1'}} 411 float f1 = pi1a<float>; 413 template<> double pi1a<double> = 5.2; // expected-error {{variable template specialization of 'pi1a' must originally be (…) member in namespace:nested::use_n1a [all...] |