#include "tap.hpp" #include "alloc/raw/dynamic.hpp" #include "alloc/raw/null.hpp" /////////////////////////////////////////////////////////////////////////////// int main (void) { cruft::TAP::logger tap; auto obj = cruft::alloc::raw::dynamic::make (); tap.expect_throw ( [&] (void) { obj.allocate (sizeof (char)); }, "trivial dispatch to null allocator" ); return tap.status (); }