Skip to content

Commit d6e9975

Browse files
authored
Merge pull request #84590 from susmonteiro/susmonteiro/merge-tests
[cxx-interop] Re-merge tests failing on Windows
2 parents e8784b8 + f114a7b commit d6e9975

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

test/Interop/C/struct/noncopyable_structs.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ func bad2(_: borrowing BadDestroyNonCopyableType2) { }
6363

6464
#endif
6565

66+
#if CPLUSPLUS
67+
// expected-cplusplus-warning@+1{{'ExtraDestroy' is deprecated: destroy operation 'extraDestroy' is not allowed on types with a non-trivial destructor}}
68+
func extra(_: borrowing ExtraDestroy) { }
69+
#endif
70+
6671
// CHECK-SIL: sil shared @$sSo21NonCopyableWithDeinitVfD : $@convention(method) (@owned NonCopyableWithDeinit) -> () {
6772
// CHECK-SIL: bb0([[SELF:%[0-9]+]] : $NonCopyableWithDeinit):
6873
// CHECK-SIL: [[SELF_ALLOC:%[0-9]+]] = alloc_stack $NonCopyableWithDeinit

test/Interop/C/struct/noncopyable_structs_nontrivial.swift

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)