merge from dev

This commit is contained in:
Daan Leijen 2023-03-29 16:24:55 -07:00
commit c4220e43b6
9 changed files with 19 additions and 14 deletions

View file

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