mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Let's check in tests all supported object formats that need autolinking to work, including Wasm.
9 lines
260 B
Swift
9 lines
260 B
Swift
// RUN: %target-swiftc_driver -c %s -o %t
|
|
// RUN: %target-swift-autolink-extract %t -o - | %FileCheck --check-prefix CHECK-%target-object-format %s
|
|
|
|
// REQUIRES: autolink-extract
|
|
|
|
// CHECK-elf: -lswiftCore
|
|
// CHECK-coff: -lswiftCore
|
|
// CHECK-wasm: -lswiftCore
|