Skip to content

Commit d76a75d

Browse files
committed
tests: enable a couple of C++ value witness table tests
This enables the IRGen test and marks the dtor tests as XFAIL. Two of the tests will currently abort (likely due to invalid CodeGen), so mark the test as XFAIL to at least get build coverage.
1 parent b0de482 commit d76a75d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

test/Interop/Cxx/value-witness-table/custom-destructors-virtual-irgen.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
// FIXME: Once we can link with libc++ we can start using RTTI.
44
//
55
// RUN: %target-swift-frontend -enable-experimental-cxx-interop -I %S/Inputs %s -emit-ir -Xcc -fno-rtti | %FileCheck %s
6-
//
7-
// Windows doesn't support -fno-rtti.
8-
// UNSUPPORTED: OS=windows-msvc
96

107
import CustomDestructor
118

test/Interop/Cxx/value-witness-table/custom-destructors-virtual.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
// RUN: %target-run-simple-swift(-I %S/Inputs -Xfrontend -enable-experimental-cxx-interop -Xcc -fno-rtti -O)
77
//
88
// REQUIRES: executable_test
9-
// Windows doesn't support -fno-rtti.
10-
// UNSUPPORTED: OS=windows-msvc
9+
// XFAIL: OS=windows-msvc
1110

1211
import CustomDestructor
1312
import StdlibUnittest

0 commit comments

Comments
 (0)