Home | Sort by relevance Sort by last modified time |
/external/clang/test/SemaCXX/ | |
cxx1y-variable-templates_top_level.cpp | 151 CONST T pi1b = T(3.1415926535897932385); // expected-note {{variable template 'pi1b' declared here}} member in namespace:explicit_instantiation 152 template int pi1b<const int>; // expected-error {{type 'int' of explicit instantiation of 'pi1b' does not match expected type 'const const int'}} member in namespace:explicit_instantiation 397 T pi1b = T(3.1415926535897932385); // expected-note {{explicitly specialized declaration is here}} member in namespace:nested::n1 418 int i1 = n1::pi1b<int>; 420 template float n1::pi1b<float>; member in class:nested::use_n1b::n1 422 // expected-error@-2 {{explicit instantiation of 'pi1b<float>' not in a namespace enclosing 'n1'}} 424 float f1 = n1::pi1b<float>; 426 template<> double n1::pi1b<double> = 5.2; // expected-error {{cannot define or redeclare 'pi1b' here because namespace 'use_ (…) member in class:nested::use_n1b::n1 [all...] |