Files
swift-mirror/test/TBD/arm64e-arch.swift
Cyndy Ishida f869bd7e8a [TBDGen] Write tbd-v5 files by default
* Fixup tests to handle new json based output.
* Use llvm-nm & readtapi to verify tbd file outputs.

resolves: rdar://117604275
2023-11-14 08:06:24 -08:00

8 lines
312 B
Swift

// RUN: %swift -typecheck -target arm64e-apple-ios12.0 -parse-stdlib -parse-as-library %s -module-name TBDTester -emit-tbd -emit-tbd-path %t/arm64e.tbd -tbd-install_name arm64e
// RUN: %llvm-nm -arch arm64e %t/arm64e.tbd | %FileCheck %s
public func testSwiftFunc() {}
// CHECK: _$s{{.*}}testSwiftFunc{{.*}}