Home
last modified time | relevance | path

Searched defs:wrong_inst_defined (Results 1 – 1 of 1) sorted by relevance

/llvm-project/clang/test/SemaCXX/
H A Dcxx1y-variable-templates_in_class.cpp80 template<typename T> static T wrong_inst_defined = T(10); // expected-error {{non-const static data member must be initialized out of line}} member in non_const_init::A
86 template<typename T> T A::wrong_inst_defined; member in non_const_init::A
87 template const int A::wrong_inst_defined<const int>; member in non_const_init::A
88 template int A::wrong_inst_defined<int>; // expected-note {{in instantiation of static data member 'non_const_init::A::wrong_inst_defined<int>' requested here}} member in non_const_init::A