Skip to content

Commit 75aae22

Browse files
committed
Fix tests for Linux
1 parent 8f5e941 commit 75aae22

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/Macros/expand_on_imported.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ func testAll(x: Double, y: Double, computer: SlowComputer) async {
2222
let _: Double = await computer.divide(x, y)
2323
}
2424

25-
// CHECK: define swifttailcc void @"$sSC12async_divideyS2d_SdtYaF"
26-
// CHECK: define swifttailcc void @"$sSo12SlowComputerV6divideyS2d_SdtYaF"
25+
// CHECK: define{{.*}}@"$sSC12async_divideyS2d_SdtYaF"
26+
// CHECK: define{{.*}}@"$sSo12SlowComputerV6divideyS2d_SdtYaF"

test/Macros/expand_on_imported_objc.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// REQUIRES: swift_swift_parser, executable_test, objc_interop, concurrency
22
// REQUIRES: swift_feature_MacrosOnImports
3+
// REQUIRES: OS=macosx
34

45
// RUN: %empty-directory(%t)
56
// 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

0 commit comments

Comments
 (0)