XFAIL aligned allocation tests for older Clang versions
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@284214 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -9,11 +9,13 @@
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
|
||||
// test operator new
|
||||
|
||||
// asan and msan will not call the new handler.
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
||||
// XFAIL: no-aligned-allocation
|
||||
|
||||
// test operator new
|
||||
|
||||
#include <new>
|
||||
#include <cstddef>
|
||||
#include <cassert>
|
||||
|
||||
@@ -9,11 +9,13 @@
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
|
||||
// test operator new (nothrow)
|
||||
|
||||
// asan and msan will not call the new handler.
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
||||
// XFAIL: no-aligned-allocation
|
||||
|
||||
// test operator new (nothrow)
|
||||
|
||||
#include <new>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
@@ -8,18 +8,18 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
||||
// XFAIL: no-aligned-allocation
|
||||
|
||||
// test operator new nothrow by replacing only operator new
|
||||
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
||||
#include <new>
|
||||
#include <cstddef>
|
||||
#include <cstdlib>
|
||||
#include <cassert>
|
||||
#include <limits>
|
||||
|
||||
|
||||
constexpr auto OverAligned = alignof(std::max_align_t) * 2;
|
||||
|
||||
int A_constructed = 0;
|
||||
|
||||
@@ -8,11 +8,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
||||
// XFAIL: no-aligned-allocation
|
||||
|
||||
// test operator new replacement
|
||||
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
||||
#include <new>
|
||||
#include <cstddef>
|
||||
#include <cstdlib>
|
||||
|
||||
@@ -9,11 +9,13 @@
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
|
||||
// test operator new
|
||||
|
||||
// asan and msan will not call the new handler.
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
||||
// XFAIL: no-aligned-allocation
|
||||
|
||||
// test operator new
|
||||
|
||||
#include <new>
|
||||
#include <cstddef>
|
||||
#include <cassert>
|
||||
|
||||
@@ -9,11 +9,13 @@
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
|
||||
// test operator new (nothrow)
|
||||
|
||||
// asan and msan will not call the new handler.
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
||||
// XFAIL: no-aligned-allocation
|
||||
|
||||
// test operator new (nothrow)
|
||||
|
||||
#include <new>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
@@ -8,11 +8,11 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
|
||||
// test operator new nothrow by replacing only operator new
|
||||
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
||||
// XFAIL: no-aligned-allocation
|
||||
|
||||
// test operator new nothrow by replacing only operator new
|
||||
|
||||
#include <new>
|
||||
#include <cstddef>
|
||||
|
||||
@@ -8,11 +8,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
||||
// XFAIL: no-aligned-allocation
|
||||
|
||||
// test operator new replacement
|
||||
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
||||
#include <new>
|
||||
#include <cstddef>
|
||||
#include <cstdlib>
|
||||
|
||||
Reference in New Issue
Block a user