Fixed broken tests
This commit is contained in:
parent
0b0344be69
commit
5e52de10bd
7 changed files with 29 additions and 98 deletions
|
|
@ -9,11 +9,11 @@ struct Obj {
|
|||
};
|
||||
|
||||
int main() {
|
||||
auto heap = GC::Heap::the2();
|
||||
auto heap = GC::Heap::debug_the();
|
||||
|
||||
std::cout << "heap:\t" << heap << std::endl;
|
||||
|
||||
auto obj = static_cast<Obj *>(heap->alloc(sizeof(Obj)));
|
||||
auto obj = static_cast<Obj *>(GC::Heap::alloc(sizeof(Obj)));
|
||||
|
||||
std::cout << "obj: \t" << obj << std::endl;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue