Files
swift-mirror/test/ClangImporter/MixedSource/autolinking.swift
Daniel Rodríguez Troitiño e649bebcdf [android][test] Disabling autolinking tests for Android AArch64 (#23551)
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.
2019-03-26 08:37:05 -07:00

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"}