Clarify XFAIL comments

llvm-svn: 284282
This commit is contained in:
Eric Fiselier 2016-10-14 21:30:35 +00:00
parent 22bff66a9a
commit 797cb4f646
2 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,7 @@
// None of the current GCC compilers support this.
// 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
#include <new>
@ -60,6 +60,7 @@ struct alignas(std::max_align_t) B {};
int main()
{
reset();
{
B *x = new B[2];
assert(0 == unsized_delete_called);

View File

@ -17,7 +17,7 @@
// None of the current GCC compilers support this.
// 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
#include <new>
@ -60,6 +60,7 @@ struct alignas(std::max_align_t) B {};
int main()
{
reset();
{
B *x = new B;
assert(0 == unsized_delete_called);