Fix tests for Linux

This commit is contained in:
Doug Gregor
2024-11-13 23:28:37 -08:00
parent 8f5e941667
commit 75aae222df
2 changed files with 3 additions and 2 deletions

View File

@@ -22,5 +22,5 @@ func testAll(x: Double, y: Double, computer: SlowComputer) async {
let _: Double = await computer.divide(x, y)
}
// CHECK: define swifttailcc void @"$sSC12async_divideyS2d_SdtYaF"
// CHECK: define swifttailcc void @"$sSo12SlowComputerV6divideyS2d_SdtYaF"
// CHECK: define{{.*}}@"$sSC12async_divideyS2d_SdtYaF"
// CHECK: define{{.*}}@"$sSo12SlowComputerV6divideyS2d_SdtYaF"

View File

@@ -1,5 +1,6 @@
// REQUIRES: swift_swift_parser, executable_test, objc_interop, concurrency
// REQUIRES: swift_feature_MacrosOnImports
// REQUIRES: OS=macosx
// RUN: %empty-directory(%t)
// RUN: %host-build-swift -swift-version 5 -emit-library -o %t/%target-library-name(MacroDefinition) -module-name=MacroDefinition %S/Inputs/syntax_macro_definitions.swift -g -no-toolchain-stdlib-rpath -swift-version 5