Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/CXX/special/class.copy/
H A Dp12-0x.cpp168 struct PrivateMove { struct
169 PrivateMove(const PrivateMove &) = default;
171 PrivateMove(PrivateMove &&);
174 static_assert(__is_trivially_constructible(PrivateMove, const PrivateMove &), "");
175 static_assert(!__is_trivially_constructible(PrivateMove, PrivateMove &&), "");
178 PrivateMove pm;
189 PrivateMove pm;
H A Dimplicit-move.cpp68 struct PrivateMove { struct
69 PrivateMove() noexcept;
70 PrivateMove(const PrivateMove &) noexcept(false);
71 PrivateMove & operator =(const PrivateMove &) noexcept(false);
73 PrivateMove(PrivateMove &&) noexcept;
74 PrivateMove & operator =(PrivateMove &&) noexcept;
77 struct InheritsPrivateMove : PrivateMove {};
79 PrivateMove pm;
H A Dp25-0x.cpp196 struct PrivateMove { struct
197 PrivateMove &operator=(const PrivateMove &) = default;
199 PrivateMove &operator=(PrivateMove &&);
202 static_assert(__is_trivially_assignable(PrivateMove, const PrivateMove &), "");
203 static_assert(!__is_trivially_assignable(PrivateMove, PrivateMove &&), "");
206 PrivateMove pm;
217 PrivateMove pm;