Searched refs:HasDestructor (Results 1 – 2 of 2) sorted by relevance
40 struct HasDestructor { struct42 HasDestructor() noexcept; argument43 ~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()
43 class HasDestructor { class45 virtual ~HasDestructor() = 0;48 int i = sizeof(HasDestructor<int>); // FIXME: forces instantiation, but 50 int abstract_destructor[__is_abstract(HasDestructor<int>)? 1 : -1];