[UBSan] Disable vptr.cpp on Darwin again.
authorAlexey Samsonov <vonosmas@gmail.com>
Wed, 29 Apr 2015 21:51:23 +0000 (21:51 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Wed, 29 Apr 2015 21:51:23 +0000 (21:51 +0000)
llvm-svn: 236165

compiler-rt/test/ubsan/TestCases/TypeCheck/vptr.cpp

index e31e4b3..d5313f2 100644 (file)
@@ -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 @@ int access_p(T *p, char type) {
     (void)static_cast<T*>(reinterpret_cast<S*>(p));
     return 0;
   }
+  return 0;
 }