Skip to content

Commit 34545e0

Browse files
committed
Disable part of this test on Windows
1 parent 8680de4 commit 34545e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/Interop/C/struct/noncopyable_structs.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ func bad1(_: borrowing BadDestroyNonCopyableType) { }
5656
// expected-warning@+1{{'BadDestroyNonCopyableType2' is deprecated: destroy function 'badDestroy2' must have a single parameter with type 'BadDestroyNonCopyableType2'}}
5757
func bad2(_: borrowing BadDestroyNonCopyableType2) { }
5858

59+
#if !os(Windows)
5960
#if CPLUSPLUS
6061
// expected-cplusplus-warning@+1{{'ExtraDestroy' is deprecated: destroy operation 'extraDestroy' is not allowed on types with a non-trivial destructor}}
6162
func extra(_: borrowing ExtraDestroy) { }
6263
#endif
64+
#endif
6365

6466
#endif
6567

0 commit comments

Comments
 (0)