Skip to content

Commit 454e5ea

Browse files
authored
Fix test/Misc/target-cpu.swift (#81137)
It expected `apple-a7`, while the new value is `apple-a4` for `WATCHTARGETCPU2`. rdar://150074485
1 parent ea74546 commit 454e5ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Misc/target-cpu.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
// RUN: not %swift -typecheck -target armv7k-apple-watchos2 -Xcc -### %s 2>&1 | %FileCheck -check-prefix=WATCHTARGETCPU1 %s
1414
// WATCHTARGETCPU1: "-target-cpu" "cortex-a7"
1515

16-
// RUN: not %swift -typecheck -target arm64-apple-watchos2 -Xcc -### %s 2>&1 | %FileCheck -check-prefix=WATCHTARGETCPU2 %s
17-
// WATCHTARGETCPU2: "-target-cpu" "apple-a7"
16+
// RUN: not %swift -typecheck -target arm64_32-apple-watchos2 -Xcc -### %s 2>&1 | %FileCheck -check-prefix=WATCHTARGETCPU2 %s
17+
// WATCHTARGETCPU2: "-target-cpu" "apple-s4"
1818

1919
// RUN: not %swift -typecheck -target armv7s-apple-ios7 -Xcc -### %s 2>&1 | %FileCheck -check-prefix=TARGETCPU2 %s
2020
// TARGETCPU2: "-target-cpu" "swift"

0 commit comments

Comments
 (0)