This is xnu-11215.1.10. See this file in:
//
// Tests for
// safe_allocation(safe_allocation const&) = delete;
//
#include <libkern/c++/safe_allocation.h>
#include <type_traits>
#include <darwintest.h>
#include "test_utils.h"
struct T {
int i;
};
T_DECL(ctor_copy, "safe_allocation.ctor.copy", T_META_TAG_VM_PREFERRED) {
static_assert(!std::is_copy_constructible_v<test_safe_allocation<T> >);
T_PASS("safe_allocation.ctor.copy passed");
}