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

Lines Matching full:declared

4 //   If a class is declared to be a base class for another class using
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}}
52 // If a class is declared to be a base class for another class using
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}}
102 // If a class is declared to be a base class for another class using
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}} \