Lines Matching refs:Base
10 class Base { class
16 class Test : public Base {
25 Base::pub++; in test()
26 Base::spub++; in test()
27 Base::prot++; in test()
28 Base::sprot++; in test()
29 Base::priv++; // expected-error {{private member}} in test()
30 Base::spriv++; // expected-error {{private member}} in test()
42 t->Base::pub++; in test()
43 t->Base::spub++; in test()
44 t->Base::prot++; // expected-error {{protected member}} in test()
45 t->Base::sprot++; // expected-error {{protected member}} in test()
46 t->Base::priv++; // expected-error {{private member}} in test()
47 t->Base::spriv++; // expected-error {{private member}} in test()
57 class Base { // expected-note 6{{member is declared here}} class
65 …class Test : protected Base { // expected-note 6 {{declared protected here}} expected-note 8 {{con…
74 Base::pub++; in test()
75 Base::spub++; in test()
76 Base::prot++; in test()
77 Base::sprot++; in test()
78 Base::priv++; // expected-error {{private member}} in test()
79 Base::spriv++; // expected-error {{private member}} in test()
92 t->Base::pub++; // expected-error {{protected member}} expected-error {{protected base class}} in test()
93 t->Base::spub++; // expected-error {{protected member}} in test()
94 … t->Base::prot++; // expected-error 2 {{protected member}} expected-error {{protected base class}} in test()
95 t->Base::sprot++; // expected-error 2 {{protected member}} in test()
96 …t->Base::priv++; // expected-error {{protected member}} expected-error {{private member}} expected… in test()
97 t->Base::spriv++; // expected-error {{protected member}} expected-error {{private member}} in test()
107 class Base { // expected-note 6{{member is declared here}} class
121 class Test : private Base { // expected-note 6 {{declared private here}} \
131 Base::pub++; in test()
132 Base::spub++; in test()
133 Base::prot++; in test()
134 Base::sprot++; in test()
135 Base::priv++; // expected-error {{private member}} in test()
136 Base::spriv++; // expected-error {{private member}} in test()
148 t->Base::pub++; // expected-error {{private member}} expected-error {{private base class}} in test()
149 t->Base::spub++; // expected-error {{private member}} in test()
150 …t->Base::prot++; // expected-error {{protected member}} expected-error {{private member}} expected… in test()
151 t->Base::sprot++; // expected-error {{protected member}} expected-error {{private member}} in test()
152 t->Base::priv++; // expected-error 2 {{private member}} expected-error {{private base class}} in test()
153 t->Base::spriv++; // expected-error 2 {{private member}} in test()