Skip to content

Commit 72bdac6

Browse files
committed
Fix three tests for Windows AArch64
1 parent 4064414 commit 72bdac6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/DebugInfo/line-directive-codeview.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func myFunc() {
1313
}
1414

1515
// REQUIRES: OS=windows-msvc
16-
// RUN: %swiftc_driver %s -S -g -debug-info-format=codeview -target x86_64-unknown-windows-msvc -o - | %FileCheck --check-prefix CV-CHECK %s
16+
// RUN: %swiftc_driver %s -S -g -debug-info-format=codeview -target %target-cpu-unknown-windows-msvc -o - | %FileCheck --check-prefix CV-CHECK %s
1717
// CV-CHECK: .cv_file [[MAIN:[0-9]+]] "{{.*}}line-directive-codeview.swift"
1818
// CV-CHECK: .cv_loc {{[0-9]+}} [[MAIN]] 1 {{0?}}
1919
// CV-CHECK: .def $s4main6myFuncyyF;

test/SILGen/enum_raw_representable_objc.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %target-swift-emit-silgen -emit-sorted-sil %s | %FileCheck %s
22
// RUN: %target-swift-emit-silgen -emit-sorted-sil -enable-library-evolution %s | %FileCheck -check-prefix=CHECK-RESILIENT %s
33

4-
#if os(Windows) && arch(x86_64)
4+
#if os(Windows) && (arch(x86_64) || arch(arm64))
55
@objc public enum CLike: Int32 {
66
case a, b, c
77
}

test/attr/attr_cdecl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var computed: Int {
1818

1919
struct SwiftStruct { var x, y: Int }
2020
enum SwiftEnum { case A, B }
21-
#if os(Windows) && arch(x86_64)
21+
#if os(Windows) && (arch(x86_64) || arch(arm64))
2222
@objc enum CEnum: Int32 { case A, B }
2323
#else
2424
@objc enum CEnum: Int { case A, B }

0 commit comments

Comments
 (0)