Add missing zstd.h to coregrind Makefile.am noinst_HEADERS
[valgrind.git] / memcheck / tests / x86 / bug487993.cpp
blob27f43d306c07a399787ea0ef3b879204b8d9346a
1 // the original issue ocurred with Eigen3
2 // this is roughly the same using a simple struct
3 //
4 #include <cassert>
5 #include <memory>
6 //#include <iostream>
8 struct Test
10 alignas(16) double array[16];
13 int main()
15 std::unique_ptr<Test> test = std::make_unique<Test>();
16 //std::cerr << "test " << test.get() << ' ' << (reinterpret_cast<size_t>(test.get()) & 0xfUL) << '\n';
17 assert((reinterpret_cast<size_t>(test.get()) & 0xfUL) == 0);