Home
last modified time | relevance | path

Searched refs:NameFromBase (Results 1 – 1 of 1) sorted by relevance

/external/clang/test/SemaTemplate/
Dms-lookup-template-base-classes.cpp282 template <typename T> struct A { typedef T NameFromBase; }; typedef
284 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
290 template <typename T> struct A { struct NameFromBase {}; }; struct
292 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
298 template <typename T> struct A { enum NameFromBase { X }; }; enum
300 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… typedef
307 template <typename T> struct B { struct NameFromBase { T m; }; }; // expected-note {{member found b… struct
309NameFromBase m; // expected-error {{member 'NameFromBase' found in multiple base classes of differ…
[all …]