Clarify XFAIL comments
authorEric Fiselier <eric@efcs.ca>
Fri, 14 Oct 2016 21:30:35 +0000 (21:30 +0000)
committerEric Fiselier <eric@efcs.ca>
Fri, 14 Oct 2016 21:30:35 +0000 (21:30 +0000)
llvm-svn: 284282

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp
libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp

index b8a5f7c..62ffa3f 100644 (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);
index 02522d0..67a5191 100644 (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);