Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/CXX/special/class.copy/
H A Dimplicit-move.cpp82 struct PrivateDestructor { struct
83 PrivateDestructor() noexcept;
84 PrivateDestructor(const PrivateDestructor &) noexcept(false);
85 PrivateDestructor(PrivateDestructor &&) noexcept;
87 ~PrivateDestructor() noexcept;
90 struct InheritsPrivateDestructor : PrivateDestructor {}; // expected-note{{base class 'PrivateDestr…
92 PrivateDestructor pd; // expected-note{{field 'pd' has an inaccessible destructor}}
/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
H A Dis_nothrow_destructible.pass.cpp49 struct PrivateDestructor { private: ~PrivateDestructor() {}}; in ~PrivateDestructor() struct
102 test_is_not_nothrow_destructible<PrivateDestructor>(); in main()
H A Dis_trivially_destructible.pass.cpp48 struct PrivateDestructor { private: ~PrivateDestructor() {}}; in ~PrivateDestructor() struct
107 test_is_not_trivially_destructible<PrivateDestructor>(); in main()
H A Dis_destructible.pass.cpp74 struct PrivateDestructor { private: ~PrivateDestructor() {}}; in ~PrivateDestructor() argument
122 test_is_not_destructible<PrivateDestructor>(); in main()