Skip to content

Commit e98dbc8

Browse files
committed
Import Foundation in cxx interop tests that explicitly use/bridge its types
1 parent 0305f20 commit e98dbc8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/Interop/Cxx/class/constructors-objc-irgen.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// REQUIRES: CPU=x86_64
44
// REQUIRES: objc_interop
5-
5+
import Foundation
66
import ConstructorsObjC
77

88
public func createConstructorWithNSArrayParam() -> ConstructorWithNSArrayParam {

test/Interop/Cxx/class/constructors-objc-silgen.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -I %S/Inputs -enable-cxx-interop -emit-sil %s | %FileCheck %s
22

33
// REQUIRES: objc_interop
4-
4+
import Foundation
55
import ConstructorsObjC
66

77
// CHECK: [[VAR:%[0-9]+]] = alloc_stack $ConstructorWithNSArrayParam

0 commit comments

Comments
 (0)