forked from starnakin/IronGOLEM
add: itoa && create test_int func to test func return int and test_str to ...
This commit is contained in:
@ -5,9 +5,9 @@ main()
|
||||
name = "galloc";
|
||||
|
||||
ptr1 = galloc(1);
|
||||
test_str(ptr1, heap + LOCATION_DATA, "");
|
||||
test_int(ptr1, heap + LOCATION_DATA, "");
|
||||
free(ptr1);
|
||||
ptr1 = galloc(1);
|
||||
test_str(ptr1, heap + LOCATION_DATA, "alloc after free");
|
||||
test_int(ptr1, heap + LOCATION_DATA, "alloc after free");
|
||||
ptr2 = galloc(1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user