Skip to content

Commit 354efbd

Browse files
authored
Merge pull request #83431 from tbkka/tbkka-rdar147241521
Track Darwin module refactoring to fix Swift tests on macOS 26
2 parents 70aa18a + 3112082 commit 354efbd

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)