Home
last modified time | relevance | path

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

/external/clang/test/CXX/special/class.copy/
Dp11.0x.move.cpp116 struct HasNoAccessDtor { struct
118 HasNoAccessDtor(HasNoAccessDtor&&); argument
120 HasNoAccessDtor::HasNoAccessDtor(HasNoAccessDtor&&) = default; // expected-error{{would delete}}
Dp11.0x.copy.cpp104 struct HasNoAccessDtor { struct
106 HasNoAccessDtor();
107 ~HasNoAccessDtor();
109 HasNoAccessDtor HNADa;
110 HasNoAccessDtor HNADb(HNADa); // expected-error{{call to implicitly-deleted copy constructor}}