mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Add tracking allocator to test runner. #1809
This commit is contained in:
@@ -7,6 +7,8 @@ def Queue = PriorityQueue(<int>);
|
||||
fn void priorityqueue()
|
||||
{
|
||||
Queue q;
|
||||
defer q.free();
|
||||
|
||||
assert(q.is_empty());
|
||||
|
||||
q.push(1);
|
||||
@@ -35,6 +37,7 @@ def QueueMax = PriorityQueueMax(<int>);
|
||||
fn void priorityqueue_max()
|
||||
{
|
||||
QueueMax q;
|
||||
defer q.free();
|
||||
assert(q.is_empty());
|
||||
|
||||
q.push(1);
|
||||
|
||||
Reference in New Issue
Block a user