Merge branch 'dev' into dev-slice

This commit is contained in:
Daan Leijen 2024-12-19 11:50:42 -08:00
commit b6019897c1
2 changed files with 17 additions and 15 deletions

View file

@ -50,9 +50,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();
@ -115,6 +113,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 {