mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix test/Misc/target-cpu.swift (#81137)
It expected `apple-a7`, while the new value is `apple-a4` for `WATCHTARGETCPU2`. rdar://150074485
This commit is contained in:
@@ -13,8 +13,8 @@
|
|||||||
// RUN: not %swift -typecheck -target armv7k-apple-watchos2 -Xcc -### %s 2>&1 | %FileCheck -check-prefix=WATCHTARGETCPU1 %s
|
// RUN: not %swift -typecheck -target armv7k-apple-watchos2 -Xcc -### %s 2>&1 | %FileCheck -check-prefix=WATCHTARGETCPU1 %s
|
||||||
// WATCHTARGETCPU1: "-target-cpu" "cortex-a7"
|
// WATCHTARGETCPU1: "-target-cpu" "cortex-a7"
|
||||||
|
|
||||||
// RUN: not %swift -typecheck -target arm64-apple-watchos2 -Xcc -### %s 2>&1 | %FileCheck -check-prefix=WATCHTARGETCPU2 %s
|
// RUN: not %swift -typecheck -target arm64_32-apple-watchos2 -Xcc -### %s 2>&1 | %FileCheck -check-prefix=WATCHTARGETCPU2 %s
|
||||||
// WATCHTARGETCPU2: "-target-cpu" "apple-a7"
|
// WATCHTARGETCPU2: "-target-cpu" "apple-s4"
|
||||||
|
|
||||||
// RUN: not %swift -typecheck -target armv7s-apple-ios7 -Xcc -### %s 2>&1 | %FileCheck -check-prefix=TARGETCPU2 %s
|
// RUN: not %swift -typecheck -target armv7s-apple-ios7 -Xcc -### %s 2>&1 | %FileCheck -check-prefix=TARGETCPU2 %s
|
||||||
// TARGETCPU2: "-target-cpu" "swift"
|
// TARGETCPU2: "-target-cpu" "swift"
|
||||||
|
|||||||
Reference in New Issue
Block a user