Clarify XFAIL comments
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@284282 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
// None of the current GCC compilers support this.
|
// None of the current GCC compilers support this.
|
||||||
// XFAIL: gcc-4, gcc-5, gcc-6
|
// XFAIL: gcc-4, gcc-5, gcc-6
|
||||||
|
|
||||||
// UBSAN replaces certain new/delete functions which makes this test fail
|
// TODO Investigate why UBSAN prevents new from calling our replacement.
|
||||||
// XFAIL: ubsan
|
// XFAIL: ubsan
|
||||||
|
|
||||||
#include <new>
|
#include <new>
|
||||||
@@ -60,6 +60,7 @@ struct alignas(std::max_align_t) B {};
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
reset();
|
||||||
{
|
{
|
||||||
B *x = new B[2];
|
B *x = new B[2];
|
||||||
assert(0 == unsized_delete_called);
|
assert(0 == unsized_delete_called);
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
// None of the current GCC compilers support this.
|
// None of the current GCC compilers support this.
|
||||||
// XFAIL: gcc-4, gcc-5, gcc-6
|
// XFAIL: gcc-4, gcc-5, gcc-6
|
||||||
|
|
||||||
// UBSAN replaces certain new/delete functions which makes this test fail
|
// TODO Investigate why UBSAN prevents new from calling our replacement.
|
||||||
// XFAIL: ubsan
|
// XFAIL: ubsan
|
||||||
|
|
||||||
#include <new>
|
#include <new>
|
||||||
@@ -60,6 +60,7 @@ struct alignas(std::max_align_t) B {};
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
reset();
|
||||||
{
|
{
|
||||||
B *x = new B;
|
B *x = new B;
|
||||||
assert(0 == unsized_delete_called);
|
assert(0 == unsized_delete_called);
|
||||||
|
|||||||
Reference in New Issue
Block a user