File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ func myFunc() {
13
13
}
14
14
15
15
// 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
17
17
// CV-CHECK: .cv_file [[MAIN:[0-9]+]] "{{.*}}line-directive-codeview.swift"
18
18
// CV-CHECK: .cv_loc {{[0-9]+}} [[MAIN]] 1 {{0?}}
19
19
// CV-CHECK: .def $s4main6myFuncyyF;
Original file line number Diff line number Diff line change 1
1
// RUN: %target-swift-emit-silgen -emit-sorted-sil %s | %FileCheck %s
2
2
// RUN: %target-swift-emit-silgen -emit-sorted-sil -enable-library-evolution %s | %FileCheck -check-prefix=CHECK-RESILIENT %s
3
3
4
- #if os(Windows) && arch(x86_64)
4
+ #if os(Windows) && ( arch(x86_64) || arch(arm64) )
5
5
@objc public enum CLike : Int32 {
6
6
case a, b, c
7
7
}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ var computed: Int {
18
18
19
19
struct SwiftStruct { var x , y : Int }
20
20
enum SwiftEnum { case A, B }
21
- #if os(Windows) && arch(x86_64)
21
+ #if os(Windows) && ( arch(x86_64) || arch(arm64) )
22
22
@objc enum CEnum : Int32 { case A, B }
23
23
#else
24
24
@objc enum CEnum : Int { case A, B }
You can’t perform that action at this time.
0 commit comments