Home | History | Annotate | Download | only in class.access.base

Lines Matching full:here

12   protected: int prot; static int sprot; // expected-note 4 {{declared protected here}}
13 private: int priv; static int spriv; // expected-note 8 {{declared private here}}
57 class Base { // expected-note 6{{member is declared here}}
59 int pub; // expected-note{{member is declared here}}
60 static int spub; // expected-note{{member is declared here}}
61 protected: int prot; static int sprot; // expected-note 4 {{declared protected here}}
62 private: int priv; static int spriv; // expected-note 8 {{declared private here}}
65 class Test : protected Base { // expected-note 6 {{declared protected here}} expected-note 8 {{constrained by protected inheritance here}}
91 // Two possible errors here: one for Base, one for the member
107 class Base { // expected-note 6{{member is declared here}}
109 int pub; // expected-note{{member is declared here}}
110 static int spub; // expected-note{{member is declared here}}
112 int prot; // expected-note {{declared protected here}} \
113 // expected-note{{member is declared here}}
114 static int sprot; // expected-note {{declared protected here}} \
115 // expected-note{{member is declared here}}
117 int priv; // expected-note 4 {{declared private here}}
118 static int spriv; // expected-note 4 {{declared private here}}
121 class Test : private Base { // expected-note 6 {{declared private here}} \
122 // expected-note 10 {{constrained by private inheritance here}}