Files
swift-mirror/test/Interop/Cxx/class/constructors-objc-module-interface.swift
zoecarver 839839f924 [cxx-interop] Rename enable-cxx-interop -> enable-experimental-cxx-interop.
Also removes the driver flag, this will now also always be guarded on `-Xfrontend`.
2022-04-07 19:15:25 -07:00

11 lines
414 B
Swift

// Test that Objective-C types passed to a C++ constructor are bridged
// correctly.
// RUN: %target-swift-ide-test(mock-sdk: %clang-importer-sdk) -print-module -module-to-print=ConstructorsObjC -I %S/Inputs/ -source-filename=x -enable-experimental-cxx-interop | %FileCheck %s
// REQUIRES: objc_interop
// CHECK: struct ConstructorWithNSArrayParam {
// CHECK-NEXT: init(_ array: [Any]!)
// CHECK-NEXT: }