Skip to content

Commit bc7f631

Browse files
committedNov 8, 2017
[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
1 parent cfd5106 commit bc7f631

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

‎libcxx/test/libcxx/language.support/cxa_deleted_virtual.pass.cpp

+9
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@
1010
// UNSUPPORTED: c++98, c++03
1111

1212
// Test exporting the symbol: "__cxa_deleted_virtual" in macosx
13+
// But don't expect the symbol to be exported in previous versions.
14+
//
15+
// XFAIL: with_system_cxx_lib=macosx10.13
16+
// XFAIL: with_system_cxx_lib=macosx10.12
17+
// XFAIL: with_system_cxx_lib=macosx10.11
18+
// XFAIL: with_system_cxx_lib=macosx10.10
19+
// XFAIL: with_system_cxx_lib=macosx10.9
20+
// XFAIL: with_system_cxx_lib=macosx10.8
21+
// XFAIL: with_system_cxx_lib=macosx10.7
1322

1423
struct S { virtual void f() = delete; virtual ~S() {} };
1524
int main() {

0 commit comments

Comments
 (0)
Please sign in to comment.