Lines Matching full:base
30 using C::g; // expected-error{{using declaration refers into 'C::', which is not a base class of 'D2'}}
38 // expected-error@-5 {{using declaration refers into 'D::', which is not a base class of 'D2'}}
39 // expected-error@-5 {{using declaration refers into 'D::', which is not a base class of 'D2'}}
40 // expected-error@-5 {{using declaration refers into 'D::', which is not a base class of 'D2'}}
41 // expected-error@-5 {{using declaration refers into 'D::', which is not a base class of 'D2'}}
49 struct Base {
57 struct Subclass : Base {
64 struct B : Base {
68 template <class T> struct C : Base {
70 using Base::bar; // expected-error {{no member named 'bar'}}
71 using Unrelated::foo; // expected-error {{not a base class}}
74 // references to base class members are permitted.
79 // expected-error@-3 {{not a base class}}