forked from OSchip/llvm-project
[test] Alignment must be > __STDCPP_DEFAULT_NEW_ALIGNMENT__ to call aligned new
Differential Revision: D39221 llvm-svn: 318325
This commit is contained in:
parent
d49c92b124
commit
dc2596e971
|
@ -36,7 +36,7 @@
|
|||
|
||||
#include "test_macros.h"
|
||||
|
||||
constexpr auto OverAligned = alignof(std::max_align_t) * 2;
|
||||
constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2;
|
||||
|
||||
int unsized_delete_called = 0;
|
||||
int unsized_delete_nothrow_called = 0;
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "test_macros.h"
|
||||
|
||||
constexpr auto OverAligned = alignof(std::max_align_t) * 2;
|
||||
constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2;
|
||||
|
||||
int new_handler_called = 0;
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
#include "test_macros.h"
|
||||
|
||||
constexpr auto OverAligned = alignof(std::max_align_t) * 2;
|
||||
constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2;
|
||||
|
||||
int new_handler_called = 0;
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#include "test_macros.h"
|
||||
|
||||
constexpr auto OverAligned = alignof(std::max_align_t) * 2;
|
||||
constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2;
|
||||
|
||||
int A_constructed = 0;
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include "test_macros.h"
|
||||
|
||||
constexpr auto OverAligned = alignof(std::max_align_t) * 2;
|
||||
constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2;
|
||||
|
||||
int A_constructed = 0;
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include "test_macros.h"
|
||||
|
||||
constexpr auto OverAligned = alignof(std::max_align_t) * 2;
|
||||
constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2;
|
||||
|
||||
int unsized_delete_called = 0;
|
||||
int unsized_delete_nothrow_called = 0;
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
#include "test_macros.h"
|
||||
|
||||
constexpr auto OverAligned = alignof(std::max_align_t) * 2;
|
||||
constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2;
|
||||
|
||||
int new_handler_called = 0;
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
#include "test_macros.h"
|
||||
|
||||
constexpr auto OverAligned = alignof(std::max_align_t) * 2;
|
||||
constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2;
|
||||
|
||||
int new_handler_called = 0;
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include "test_macros.h"
|
||||
|
||||
constexpr auto OverAligned = alignof(std::max_align_t) * 2;
|
||||
constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2;
|
||||
|
||||
bool A_constructed = false;
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include "test_macros.h"
|
||||
|
||||
constexpr auto OverAligned = alignof(std::max_align_t) * 2;
|
||||
constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2;
|
||||
|
||||
bool A_constructed = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue