Fix three tests for Windows AArch64

This commit is contained in:
Hiroshi Yamauchi
2023-08-17 13:40:41 -07:00
parent 4064414341
commit 72bdac64ba
3 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ func myFunc() {
}
// REQUIRES: OS=windows-msvc
// RUN: %swiftc_driver %s -S -g -debug-info-format=codeview -target x86_64-unknown-windows-msvc -o - | %FileCheck --check-prefix CV-CHECK %s
// RUN: %swiftc_driver %s -S -g -debug-info-format=codeview -target %target-cpu-unknown-windows-msvc -o - | %FileCheck --check-prefix CV-CHECK %s
// CV-CHECK: .cv_file [[MAIN:[0-9]+]] "{{.*}}line-directive-codeview.swift"
// CV-CHECK: .cv_loc {{[0-9]+}} [[MAIN]] 1 {{0?}}
// CV-CHECK: .def $s4main6myFuncyyF;

View File

@@ -1,7 +1,7 @@
// RUN: %target-swift-emit-silgen -emit-sorted-sil %s | %FileCheck %s
// RUN: %target-swift-emit-silgen -emit-sorted-sil -enable-library-evolution %s | %FileCheck -check-prefix=CHECK-RESILIENT %s
#if os(Windows) && arch(x86_64)
#if os(Windows) && (arch(x86_64) || arch(arm64))
@objc public enum CLike: Int32 {
case a, b, c
}

View File

@@ -18,7 +18,7 @@ var computed: Int {
struct SwiftStruct { var x, y: Int }
enum SwiftEnum { case A, B }
#if os(Windows) && arch(x86_64)
#if os(Windows) && (arch(x86_64) || arch(arm64))
@objc enum CEnum: Int32 { case A, B }
#else
@objc enum CEnum: Int { case A, B }