Files
swift-mirror/test/Interop/Cxx/foreign-reference/reference-counted.swift
Egor Zhdan 0f420fe8a4 [cxx-interop] Only run tests for reference types against a recent Swift runtime
Having a Swift array of C++ reference types without crashing at runtime only became possible recently (https://github.com/apple/swift/pull/73615). When building against an older runtime, one would still see runtime crashes. This is expected because part of the fix is in the Swift runtime.

This makes sure we don't try to run tests for C++ reference types with an older Swift runtime.

rdar://128681137
2024-06-10 17:48:44 +01:00

2.2 KiB