Skip to content

Commit 501b008

Browse files
authored
test: check static linking of FoundationNetworking
This was fixed in swiftlang/swift-corelibs-foundation#3135 for Swift 5.5, but regressed in Swift 5.6 and Swift 5.7
1 parent a14b5fd commit 501b008

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// RUN: %target-swiftc_driver -static-stdlib -o %t/foundation_static_linking %s
2+
// RUN: not --crash %t/foundation_static_linking
3+
4+
import Foundation
5+
6+
_ = try! Data(contentsOf: URL(string: "http://httpbin.org/get")!)

0 commit comments

Comments
 (0)