Files
swift-mirror/test/Interop/Cxx/foreign-reference/pod-module-interface-macos.swift
Alex Lorenz 380f9a7008 [interop] add availability for foreign reference types
Such types have runtime support only SwiftStdlib 5.8 and above
2023-04-11 15:28:22 -07:00

10 lines
350 B
Swift

// RUN: %target-swift-ide-test -print-module -module-to-print=POD -I %S/Inputs -source-filename=x -enable-experimental-cxx-interop -target %target-arch-apple-macos11 | %FileCheck %s
// REQUIRES: OS=macosx
// CHECK: @available(macOS 13.3.0, *)
// CHECK-NEXT: class Empty {
// CHECK: @available(macOS 13.3.0, *)
// CHECK-NEXT: class MultipleAttrs {