Lines Matching refs:BadDtor
3 class BadDtor { class
5 ~BadDtor() = default; // expected-note 9{{here}}
9 BadDtor *p = new BadDtor[3]; // expected-error {{private destructor}} in f()
11 const BadDtor &dd2 = BadDtor(); // expected-error {{private destructor}} in f()
12 BadDtor dd; // expected-error {{private destructor}} in f()
17 BadDtor bd; // expected-note {{inaccessible destructor}}
20 struct W : BadDtor { // expected-note {{inaccessible destructor}}
24 struct X : BadDtor { // expected-error {{private destructor}}
28 BadDtor dd; // expected-error {{private destructor}}
31 struct Z : virtual BadDtor { // expected-error {{private destructor}}
34 BadDtor dd; // expected-error {{private destructor}}
36 class K : BadDtor {
38 BadDtor *p = new BadDtor[3]; in f()
40 const BadDtor &dd2 = BadDtor(); in f()
41 BadDtor dd; in f()
45 BadDtor x; in f()
51 struct Z : virtual BadDtor {
54 BadDtor dd;