Skip to content

Commit d66fde2

Browse files
committed
[test] fix availability
1 parent 922a01d commit d66fde2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interop/Cxx/class/inheritance/virtual-methods.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ if #available(SwiftStdlib 5.8, *) {
5757
#if !os(Windows)
5858
// FIXME in Windows, non-trivial C++ class with trivial ABI is not yet available in Swift
5959
VirtualMethodsTestSuite.test("C++ virtual method with complex parameter") {
60-
@available(macOS 13.3, *)
60+
@available(SwiftStdlib 5.8, *)
6161
func f(simpleClass: HasDestructor, immortalClass: Immortal2) {
6262
immortalClass.virtualMethod(simpleClass)
6363
}

0 commit comments

Comments
 (0)