Skip to content

Commit 99f6f60

Browse files
committed
[test] Fix availability in import-as-instance-method.swift
This test can run with non-macOS targets, update the availability condition to be platform agnostic.
1 parent 9a9a6a3 commit 99f6f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interop/C/swiftify-import/import-as-instance-method.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//--- test.swift
1111
import Instance
1212

13-
@available(macOS 13.3.0, *)
13+
@available(SwiftStdlib 5.8, *)
1414
func foo(_ p: inout MutableSpan<CInt>, a: A, aa: inout A, c: C, b: B, bb: inout B) {
1515
aa.basic(&p)
1616
aa.bar(&p)

0 commit comments

Comments
 (0)