Skip to content

Commit 7ec75e9

Browse files
authored
Merge pull request swiftlang#83981 from rjmansfield/cherrypick-rdar159305318
[6.2] [test] Update availability_returns_twice.swift for Darwin module refactoring.
2 parents aade750 + 4cf02d9 commit 7ec75e9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/ClangImporter/availability_returns_twice.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
// XFAIL: OS=linux-android
1212
// XFAIL: OS=openbsd
1313

14-
#if canImport(Darwin)
14+
#if canImport(setjmp_h)
15+
import setjmp_h
16+
typealias JumpBuffer = Int32
17+
#elseif canImport(Darwin)
1518
import Darwin
1619
typealias JumpBuffer = Int32
1720
#elseif canImport(Glibc)

0 commit comments

Comments
 (0)