mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix three tests for Windows AArch64
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user