Files
swift-mirror/test/AutolinkExtract/empty.swift
Max Desiatov 3bc85b8636 test/AutolinkExtract/empty.swift: add support for Wasm binary format
Let's check in tests all supported object formats that need autolinking to work, including Wasm.
2023-07-22 14:18:19 +01:00

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