add _base test for redirection

This commit is contained in:
Daan Leijen 2024-12-19 11:37:42 -08:00
parent c409928f5e
commit 0c6235e129

View file

@ -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 {