mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
15 lines
598 B
Swift
15 lines
598 B
Swift
// REQUIRES: rdar81115750
|
|
// REQUIRES: CPU=arm64,OS=macosx
|
|
|
|
// Doesn't autolink compatibility library because target OS doesn't need it
|
|
// RUN: %target-swift-frontend -target arm64-apple-macosx10.14 -emit-ir -parse-stdlib %s | %FileCheck -check-prefix=NO-FORCE-LOAD %s
|
|
|
|
public func foo() {}
|
|
|
|
// NO-FORCE-LOAD-NOT: FORCE_LOAD
|
|
// NO-FORCE-LOAD-NOT: !{!"-lswiftCompatibility50"}
|
|
// NO-FORCE-LOAD-NOT: !{!"-lswiftCompatibility51"}
|
|
// NO-FORCE-LOAD-NOT: !{!"-lswiftCompatibility52"}
|
|
// NO-FORCE-LOAD-NOT: !{!"-lswiftCompatibility53"}
|
|
// NO-FORCE-LOAD-NOT: !{!"-lswiftCompatibilityDynamicReplacements"}
|