mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The OS sadly changes between Android ARMv7 and Android AArch64, to avoid this and any future problems, mark the autolinking tests that I can find with `UNSUPPORTED: autolink-extract`, which should apply to all platforms that need autolink-extract. This should remove these tests from failing in Android 64.
14 lines
557 B
Swift
14 lines
557 B
Swift
// RUN: %target-swift-frontend %s -module-name AutolinkingTest -F %S/Inputs -import-underlying-module -emit-ir | %FileCheck %s
|
|
|
|
// Linux uses a different autolinking mechanism, based on
|
|
// swift-autolink-extract. This file tests the Darwin mechanism.
|
|
// UNSUPPORTED: autolink-extract
|
|
|
|
// Use a type declared in the Clang part of the module.
|
|
public let y = Test()
|
|
|
|
// CHECK: !llvm.linker.options
|
|
// CHECK-NOT: !{!"-framework", !"AutolinkingTest"}
|
|
// CHECK: !{!{{"-lswiftCore"|"/DEFAULTLIB:swiftCore.lib"}}}
|
|
// CHECK-NOT: !{!"-framework", !"AutolinkingTest"}
|