Fix bad _LIBCPP_ALIGNOF test
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@347790 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -21,7 +21,6 @@ template <class T>
|
|||||||
void test() {
|
void test() {
|
||||||
static_assert(_LIBCPP_ALIGNOF(T) == std::alignment_of<T>::value, "");
|
static_assert(_LIBCPP_ALIGNOF(T) == std::alignment_of<T>::value, "");
|
||||||
static_assert(_LIBCPP_ALIGNOF(T) == TEST_ALIGNOF(T), "");
|
static_assert(_LIBCPP_ALIGNOF(T) == TEST_ALIGNOF(T), "");
|
||||||
static_assert(alignof(T) == __alignof(T), "");
|
|
||||||
#if TEST_STD_VER >= 11
|
#if TEST_STD_VER >= 11
|
||||||
static_assert(_LIBCPP_ALIGNOF(T) == alignof(T), "");
|
static_assert(_LIBCPP_ALIGNOF(T) == alignof(T), "");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user