Home | Sort by relevance Sort by last modified time |
/external/clang/test/SemaCXX/ | |
cxx1y-variable-templates_in_class.cpp | 89 template<typename T> static T wrong_inst; // expected-note {{refers here}} member in class:non_const_init::B 90 template<typename T> static T wrong_inst<T*> = T(100); // expected-error {{non-const static data member must be initialized out of line}} expected-note {{refers here}} member in class:non_const_init::B 95 template int B::wrong_inst<int>; // expected-error {{undefined}} member in class:non_const_init::B 99 template int B::wrong_inst<int*>; // expected-note {{in instantiation of static data member 'non_const_init::B::wrong_inst<int *>' requested here}} member in class:non_const_init::B 100 template const int B::wrong_inst<const int*>; // expected-error {{undefined}} member in class:non_const_init::B |