mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
22 lines
581 B
Swift
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() { }
|
|
}
|