Home
last modified time | relevance | path

Searched refs:NameFromBase (Results 1 – 2 of 2) 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… argument
309NameFromBase m; // expected-error {{member 'NameFromBase' found in multiple base classes of differ…
[all …]
/external/llvm-project/clang/test/SemaTemplate/
Dms-lookup-template-base-classes.cpp283 template <typename T> struct A { typedef T NameFromBase; }; typedef
285 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
291 template <typename T> struct A { struct NameFromBase {}; }; struct
293 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
299 template <typename T> struct A { enum NameFromBase { X }; }; enum
301 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… typedef
308 template <typename T> struct B { struct NameFromBase { T m; }; }; // expected-note {{member type 't… argument
310NameFromBase m; // expected-error {{member 'NameFromBase' found in multiple base classes of differ…
[all …]