Skip to content

Commit 20e1131

Browse files
committed
[Linux] This test requires Objective-C interoperability.
1 parent ba304c3 commit 20e1131

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/IRGen/newtype.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// RUN// RUN: %target-swift-frontend -I %S/../IDE/Inputs/custom-modules %s -emit-ir | FileCheck %s
22
import Newtype
33

4+
// REQUIRES: objc_interop
5+
46
// CHECK-LABEL: define %CSo8NSString* @_TF7newtype14getErrorDomainFT_VSC11ErrorDomain()
57
public func getErrorDomain() -> ErrorDomain {
68
// CHECK: load %CSo8NSString*, %CSo8NSString** getelementptr inbounds (%VSC11ErrorDomain, %VSC11ErrorDomain* @SNTErrOne

0 commit comments

Comments
 (0)