[UBSan] Disable vptr.cpp on Darwin again.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@236165 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/ubsan/TestCases/TypeCheck/vptr.cpp b/test/ubsan/TestCases/TypeCheck/vptr.cpp
index e31e4b3..d5313f2 100644
--- a/test/ubsan/TestCases/TypeCheck/vptr.cpp
+++ b/test/ubsan/TestCases/TypeCheck/vptr.cpp
@@ -24,6 +24,8 @@
// RUN: echo "vptr_check:S" > %t.loc-supp
// RUN: UBSAN_OPTIONS="suppressions='%t.loc-supp'" not %run %t x- 2>&1 | FileCheck %s --check-prefix=CHECK-LOC-SUPPRESS
+// FIXME: The test still fails on Darwin
+// XFAIL: darwin
// REQUIRES: stable-runtime
#include <new>
#include <assert.h>
@@ -163,4 +165,5 @@
(void)static_cast<T*>(reinterpret_cast<S*>(p));
return 0;
}
+ return 0;
}