xo-gc stack: fix mutation setup + xo-reader2 utest
This commit is contained in:
parent
05a6aa9425
commit
211bc93c85
3 changed files with 19 additions and 1 deletions
|
|
@ -63,6 +63,9 @@ namespace xo {
|
|||
auto alloc = with_facet<AAllocator>::mkobj(&arena);
|
||||
obj<AAllocator> null_mm;
|
||||
|
||||
REQUIRE(!null_mm.data());
|
||||
REQUIRE(!null_mm._has_null_vptr()); // any
|
||||
|
||||
DArray * arr = DArray::_empty(alloc, 16);
|
||||
REQUIRE(arr != nullptr);
|
||||
REQUIRE(arr->capacity() == 16);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue