You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tests utilise a DummyData block to assign a block of memory rather than
calling `malloc` and `free` as part of `new` and `delete` operations. However,
this is defined as a global variable which causes issues when comparing the
memory address to the locally stored variable within the test.
To get around this, the DummyData block is now part of a class, which
is defined globally. This is then used to compare the pointers and ensure
the operations are working correctly.
Copy file name to clipboardExpand all lines: libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new.size_align.replace.pass.cpp
Copy file name to clipboardExpand all lines: libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.size_align.replace.pass.cpp
Copy file name to clipboardExpand all lines: libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.size_align_nothrow.replace.pass.cpp
0 commit comments