Home
last modified time | relevance | path

Searched refs:BadDtor (Results 1 – 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
Ddefaulted-private-dtor.cpp3 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}}
[all …]