Searched refs:NameFromBase (Results 1 – 2 of 2) sorted by relevance
282 template <typename T> struct A { typedef T NameFromBase; }; typedef284 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}290 template <typename T> struct A { struct NameFromBase {}; }; struct292 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}298 template <typename T> struct A { enum NameFromBase { X }; }; enum300 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}302 static_assert(sizeof(B<int>) == sizeof(A<int>::NameFromBase), "");306 template <typename T> struct A { typedef T NameFromBase; }; // expected-note {{member found by ambi… typedef307 template <typename T> struct B { struct NameFromBase { T m; }; }; // expected-note {{member found b… argument309 …NameFromBase m; // expected-error {{member 'NameFromBase' found in multiple base classes of differ…[all …]
283 template <typename T> struct A { typedef T NameFromBase; }; typedef285 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}291 template <typename T> struct A { struct NameFromBase {}; }; struct293 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}299 template <typename T> struct A { enum NameFromBase { X }; }; enum301 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}303 static_assert(sizeof(B<int>) == sizeof(A<int>::NameFromBase), "");307 template <typename T> struct A { typedef T NameFromBase; }; // expected-note {{member type 'int' fo… typedef308 template <typename T> struct B { struct NameFromBase { T m; }; }; // expected-note {{member type 't… argument310 …NameFromBase m; // expected-error {{member 'NameFromBase' found in multiple base classes of differ…[all …]