Bug 475652 - Missing suppression for __wcsncpy_avx2 (strncpy-avx2.S:308)?
[valgrind.git] / memcheck / tests / new_aligned_delete_default.cpp
blob3d056643ab75353c965b172340685e37371ef6b6
1 #include <new>
3 int main()
5 std::nothrow_t tag;
6 void *mem = operator new(1024U, static_cast<std::align_val_t>(256U));
7 operator delete(mem);
8 mem = operator new[](1024U, static_cast<std::align_val_t>(256U));
9 operator delete[](mem);
10 mem = operator new(1024U, static_cast<std::align_val_t>(256U), tag);
11 operator delete(mem);
12 mem = operator new[](1024U, static_cast<std::align_val_t>(256U), tag);
13 operator delete[](mem);