summaryrefslogtreecommitdiff
path: root/test/ubsan
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-10-14 17:31:15 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-10-14 17:31:15 +0000
commitdb7abd481010890c7e645cc6872096b0bf944f60 (patch)
tree72ce2f901a605eca885db3b9a7a33de89eefc02b /test/ubsan
parent1cd0e9c2239e8abbd34ed19a22adf1377d2c96a9 (diff)
[UBSan] XFAIL test added in r219642 on Darwin
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ubsan')
-rw-r--r--test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp b/test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp
index d5130fe23..5261e71c2 100644
--- a/test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp
+++ b/test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp
@@ -1,6 +1,9 @@
// RUN: %clangxx -fsanitize=vptr -fno-sanitize-recover -g %s -O3 -o %t
// RUN: not %run %t 2>&1 | FileCheck %s
+// FIXME: This test produces linker errors on Darwin.
+// XFAIL: darwin
+
struct S { virtual int f() { return 0; } };
struct T : virtual S {};