Skip to content

Commit f291164

Browse files
author
Gabor Horvath
committed
[cxx-interop] Reenable test
Additional errors were triggered due to missing availability attributes. rdar://136620623
1 parent d3c5149 commit f291164

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/Interop/Cxx/class/safe-interop-mode.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55

66
// REQUIRES: objc_interop
77

8-
// rdar://136620623
9-
// REQUIRES: rdar136620623
10-
118
//--- Inputs/module.modulemap
129
module Test {
1310
header "nonescapable.h"
@@ -41,7 +38,7 @@ import CoreFoundation
4138
func useUnsafeParam(x: Unannotated) { // expected-warning{{reference to unsafe struct 'Unannotated'}}
4239
}
4340

44-
@available(macOS 13.4, *)
41+
@available(SwiftStdlib 5.8, *)
4542
func useUnsafeParam2(x: UnsafeReference) { // expected-warning{{reference to unsafe class 'UnsafeReference'}}
4643
}
4744

0 commit comments

Comments
 (0)