Home
last modified time | relevance | path

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

/external/clang/test/SemaCXX/
Ddeleted-function.cpp37 struct DelDtor { struct
38 ~DelDtor() = delete; // expected-note 9{{here}}
41 DelDtor *p = new DelDtor[3]; // expected-error {{attempt to use a deleted function}} in f()
43 const DelDtor &dd2 = DelDtor(); // expected-error {{attempt to use a deleted function}} in f()
44 DelDtor dd; // expected-error {{attempt to use a deleted function}} in f()
47 struct X : DelDtor {
51 DelDtor dd;
54 struct Z : virtual DelDtor {
57 DelDtor dd; // expected-error {{attempt to use a deleted function}}