| 295 | } |
| 296 | |
| 297 | bool test_heap2() { |
| 298 | mi_heap_t* heap = mi_heap_new(); |
| 299 | int* p1 = mi_heap_malloc_tp(heap,int); |
| 300 | int* p2 = mi_heap_malloc_tp(heap,int); |
| 301 | mi_heap_delete(heap); |
| 302 | *p1 = 42; |
| 303 | mi_free(p1); |
| 304 | mi_free(p2); |
| 305 | return true; |
| 306 | } |
| 307 | |
| 308 | bool test_stl_allocator1() { |
| 309 | #ifdef __cplusplus |
no test coverage detected