mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
merge from dev
This commit is contained in:
commit
c4220e43b6
9 changed files with 19 additions and 14 deletions
|
@ -105,6 +105,10 @@ static void various_tests() {
|
|||
delete t;
|
||||
t = new (std::nothrow) Test(42);
|
||||
delete t;
|
||||
auto tbuf = new unsigned char[sizeof(Test)];
|
||||
t = new (tbuf) Test(42);
|
||||
t->~Test();
|
||||
delete tbuf;
|
||||
}
|
||||
|
||||
class Static {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue