Skip to content

Commit 4cf02d9

Browse files
committed
[6.2] [Test] Update availability_returns_twice.swift for Darwin module refactoring.
rdar://159305318
1 parent 6713168 commit 4cf02d9

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)