summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolodymyr Sapsai <vsapsai@apple.com>2017-11-08 22:30:29 +0000
committerVolodymyr Sapsai <vsapsai@apple.com>2017-11-08 22:30:29 +0000
commitbc7f6318ee26b9980b59b3ad6a47d33b485798a6 (patch)
tree9697c956dd5dd9293d5c24a7fc37e6eeae06ed0f
parentcfd510678f07e83c2ed3a15788381e00c9e00ddd (diff)
downloadbcm5719-llvm-bc7f6318ee26b9980b59b3ad6a47d33b485798a6.tar.gz
bcm5719-llvm-bc7f6318ee26b9980b59b3ad6a47d33b485798a6.zip
[libcxx] Mark test cxa_deleted_virtual.pass.cpp as failing for previous libcxx versions.
r313500 added a fix for undefined "___cxa_deleted_virtual" symbol. Previous libcxx versions don't have the fix and corresponding test should be failing. rdar://problem/34521053 Reviewers: EricWF, mclow.lists, ahatanak Reviewed By: ahatanak Subscribers: mehdi_amini, cfe-commits Differential Revision: https://reviews.llvm.org/D39776 llvm-svn: 317734
-rw-r--r--libcxx/test/libcxx/language.support/cxa_deleted_virtual.pass.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/libcxx/test/libcxx/language.support/cxa_deleted_virtual.pass.cpp b/libcxx/test/libcxx/language.support/cxa_deleted_virtual.pass.cpp
index 39e884b6ceb..ddef5d00e5d 100644
--- a/libcxx/test/libcxx/language.support/cxa_deleted_virtual.pass.cpp
+++ b/libcxx/test/libcxx/language.support/cxa_deleted_virtual.pass.cpp
@@ -10,6 +10,15 @@
// UNSUPPORTED: c++98, c++03
// Test exporting the symbol: "__cxa_deleted_virtual" in macosx
+// But don't expect the symbol to be exported in previous versions.
+//
+// XFAIL: with_system_cxx_lib=macosx10.13
+// XFAIL: with_system_cxx_lib=macosx10.12
+// XFAIL: with_system_cxx_lib=macosx10.11
+// XFAIL: with_system_cxx_lib=macosx10.10
+// XFAIL: with_system_cxx_lib=macosx10.9
+// XFAIL: with_system_cxx_lib=macosx10.8
+// XFAIL: with_system_cxx_lib=macosx10.7
struct S { virtual void f() = delete; virtual ~S() {} };
int main() {
OpenPOWER on IntegriCloud