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

Lines Matching full:test1

36 namespace test1 {
168 Private test1() { return *this; } // expected-error {{'operator Private' is a private member}}
171 Private test1(Derived1 &d) { return d; } // expected-error {{'operator Private' is a private member}} \
178 Private test1() { return *this; } // expected-error {{'operator Private' is a private member}}
181 Private test1(Derived2 &d) { return d; } // expected-error {{'operator Private' is a private member}}
189 Private test1(Derived3 &d) { return d; }
197 Private test1(Derived4 &d) { return d; }
207 class Test1 { A a; }; // expected-error {{private member}}
208 void test1() {
209 Test1 a;
210 a = Test1(); // expected-note{{implicit copy}}
227 class Test1 { A a; }; // expected-error {{field of type 'test6::A' has private copy constructor}}
228 void test1(const Test1 &t) {
229 Test1 a = t; // expected-note{{implicit copy}}
378 int test1(A<int> &a) {
403 int test1(A<int> &a) {