OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HasNoAccessDtor
(Results
1 - 2
of
2
) sorted by null
/external/clang/test/CXX/special/class.copy/
p11.0x.copy.cpp
97
struct
HasNoAccessDtor
{
98
NoAccessDtor NAD; // expected-note{{copy constructor of '
HasNoAccessDtor
' is implicitly deleted because field 'NAD' has an inaccessible destructor}}
99
HasNoAccessDtor
();
100
~
HasNoAccessDtor
();
102
HasNoAccessDtor
HNADa;
103
HasNoAccessDtor
HNADb(HNADa); // expected-error{{call to implicitly-deleted copy constructor}}
p11.0x.move.cpp
91
struct
HasNoAccessDtor
{
93
HasNoAccessDtor
(
HasNoAccessDtor
&&);
95
HasNoAccessDtor
::
HasNoAccessDtor
(
HasNoAccessDtor
&&) = default; // expected-error{{would delete}}
Completed in 355 milliseconds