Skip to content

Commit 5b6aff7

Browse files
committed
Test case fixes for isolated conformances
1 parent 951b535 commit 5b6aff7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

test/IRGen/isolated_conformance.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
// REQUIRES: PTRSIZE=64
44
// REQUIRES: concurrency
5+
// REQUIRES: swift_feature_IsolatedConformances
56
// UNSUPPORTED: CPU=arm64e
67

78
protocol P {
@@ -14,7 +15,7 @@ protocol P {
1415
// CHECK-SAME: ptr @"$s20isolated_conformance1XVyxGAA1PAAWP
1516
// CHECK-SAME: i32 524288
1617
// CHECK-SAME: @"symbolic ScM"
17-
// CHECK-SAME: ptr @"$sScMs11GlobalActorsMc"
18+
// CHECK-SAME: ptr @"got.$sScMs11GlobalActorsMc"
1819
@MainActor
1920
struct X<T>: isolated P {
2021
func f() { }

test/abi/Inputs/macOS/arm64/concurrency/baseline-asserts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,7 @@ _swift_task_getMainExecutor
997997
_swift_task_hasTaskGroupStatusRecord
998998
_swift_task_isCancelled
999999
_swift_task_isCurrentExecutor
1000+
_swift_task_isCurrentGlobalActor
10001001
_swift_task_isOnExecutor
10011002
_swift_task_isOnExecutor_hook
10021003
_swift_task_localValueGet

0 commit comments

Comments
 (0)