Home
last modified time | relevance | path

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

/external/clang/test/CXX/special/class.copy/
Dimplicit-move.cpp40 struct HasDestructor { struct
42 HasDestructor() noexcept; argument
43 ~HasDestructor() noexcept;
63 static_assert(!noexcept(HasDestructor((HasDestructor()))), ""); in test_basic_exclusion()
64 HasDestructor hd; in test_basic_exclusion()
65 static_assert(!noexcept(hd = HasDestructor()), ""); in test_basic_exclusion()
/external/clang/test/SemaTemplate/
Dinstantiate-method.cpp43 class HasDestructor { class
45 virtual ~HasDestructor() = 0;
48 int i = sizeof(HasDestructor<int>); // FIXME: forces instantiation, but
50 int abstract_destructor[__is_abstract(HasDestructor<int>)? 1 : -1];