mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-07 07:49:31 +03:00
add _base test for redirection
This commit is contained in:
parent
c409928f5e
commit
0c6235e129
1 changed files with 4 additions and 3 deletions
|
@ -47,9 +47,7 @@ int main() {
|
|||
mi_stats_reset(); // ignore earlier allocations
|
||||
various_tests();
|
||||
test_mixed1();
|
||||
const char* ptr = ::_Getdays();
|
||||
free((void*)ptr);
|
||||
|
||||
|
||||
//test_std_string();
|
||||
//test_thread_local();
|
||||
// heap_thread_free_huge();
|
||||
|
@ -110,6 +108,9 @@ static void various_tests() {
|
|||
t = new (tbuf) Test(42);
|
||||
t->~Test();
|
||||
delete[] tbuf;
|
||||
|
||||
const char* ptr = ::_Getdays(); // test _base overrid
|
||||
free((void*)ptr);
|
||||
}
|
||||
|
||||
class Static {
|
||||
|
|
Loading…
Add table
Reference in a new issue