Skip to content

Commit 2fc3690

Browse files
author
Gabor Horvath
committed
[cxx-interop] Fix a test failing on iOS
The type used in the test is macOS only.
1 parent 761c503 commit 2fc3690

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Interop/SwiftToCxx/stdlib/foundation-type-not-exposed-by-default-to-cxx.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public enum UseFoundationEnum {
1414
case B
1515
}
1616

17-
public func f() -> NSEdgeInsets {
18-
NSEdgeInsets()
17+
public func f() -> Decimal {
18+
Decimal()
1919
}
2020

2121
// CHECK: class UseFoundationEnum { } SWIFT_UNAVAILABLE_MSG("Swift enum 'UseFoundationEnum' cannot be represented in C++");

0 commit comments

Comments
 (0)