mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
11 lines
308 B
Swift
11 lines
308 B
Swift
// RUN: %target-swiftc_driver -c %s -o %t
|
|
// RUN: rm -f %t.a
|
|
// RUN: llvm-ar cr %t.a %t
|
|
// RUN: %target-swift-autolink-extract %t.a -o - | %FileCheck --check-prefix CHECK-%target-object-format %s
|
|
|
|
// REQUIRES: autolink-extract
|
|
|
|
// CHECK-elf: -lswiftCore
|
|
// CHECK-coff: -lswiftCore
|
|
// CHECK-wasm: -lswiftCore
|