Lines Matching refs:Test2
319 class Test2 : A {}; // expected-error {{private member}} class
321 Test2 a; in test2()
322 a = Test2(); // expected-note{{implicit copy}} in test2()
331 …class Test2 : A {}; // expected-note {{because base class 'test5::A' has an inaccessible copy assi… class
333 Test2 a; in test2()
334 a = Test2(); // expected-error {{copy assignment operator is implicitly deleted}} in test2()
355 class Test2 : A {}; // expected-error {{base class 'test6::A' has private copy constructor}} class
356 void test2(const Test2 &t) { in test2()
357 Test2 a = t; // expected-note{{implicit copy}} in test2()
365 …class Test2 : A {}; // expected-note {{base class 'test6::A' has an inaccessible copy constructor}} class
366 void test2(const Test2 &t) { in test2()
367 Test2 a = t; // expected-error{{implicitly-deleted}} in test2()