Files
swift-mirror/test/IRGen/isolated_conformance.swift
Doug Gregor 5e29333d6b [SE-0470] Enable isolated conformances by default
The IsolatedConformances feature moves to a normal, supported feature.
Remove all of the experimental-feature flags on test cases and such.

The InferIsolatedConformances feature moves to an upcoming feature for
Swift 7. This should become an adoptable feature, adding "nonisolated"
where needed.

(cherry picked from commit 3380331e7e)
2025-04-14 16:38:22 -07:00

22 lines
581 B
Swift

// RUN: %target-swift-frontend -primary-file %s -emit-ir -swift-version 6 | %FileCheck %s -DINT=i%target-ptrsize
// REQUIRES: PTRSIZE=64
// REQUIRES: concurrency
// UNSUPPORTED: CPU=arm64e
protocol P {
func f()
}
// CHECK-LABEL: @"$s20isolated_conformance1XVyxGAA1PAAMc" =
// CHECK-SAME: ptr @"$s20isolated_conformance1PMp"
// CHECK-SAME: ptr @"$s20isolated_conformance1XVMn"
// CHECK-SAME: ptr @"$s20isolated_conformance1XVyxGAA1PAAWP
// CHECK-SAME: i32 524288
// CHECK-SAME: ScM
// CHECK-SAME: $sScMs11GlobalActorsMc"
@MainActor
struct X<T>: @MainActor P {
func f() { }
}