Searched refs:wrong_inst (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
H A Dcxx1y-variable-templates_in_class.cpp89 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

Completed in 1171 milliseconds