Home
last modified time | relevance | path

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

/external/clang/test/CXX/special/class.copy/
Dimplicit-move.cpp22 struct HasCopyAssignment { struct
24 HasCopyAssignment() noexcept; argument
25 HasCopyAssignment & operator =(const HasCopyAssignment &) noexcept(false);
51 static_assert(!noexcept(HasCopyAssignment((HasCopyAssignment()))), ""); in test_basic_exclusion()
52 HasCopyAssignment hca; in test_basic_exclusion()
53 static_assert(!noexcept(hca = HasCopyAssignment()), ""); in test_basic_exclusion()
/external/llvm-project/clang/test/CXX/special/class.copy/
Dimplicit-move.cpp22 struct HasCopyAssignment { struct
24 HasCopyAssignment() noexcept; argument
25 HasCopyAssignment & operator =(const HasCopyAssignment &) noexcept(false);
51 static_assert(!noexcept(HasCopyAssignment((HasCopyAssignment()))), ""); in test_basic_exclusion()
52 HasCopyAssignment hca; in test_basic_exclusion()
53 static_assert(!noexcept(hca = HasCopyAssignment()), ""); in test_basic_exclusion()