Files
swift-mirror/test/TBD/coroutine_accessors.swift
Nate Chandler 430307a29d [CoroutineAccessors] Don't synthesize overrides.
Such storage decls don't actually have entries in the wtable.
2024-11-13 21:33:08 -08:00

24 lines
798 B
Swift

// RUN: %target-build-swift-dylib(%t/%target-library-name(thing)) \
// RUN: %s \
// RUN: -emit-tbd \
// RUN: -Xfrontend -validate-tbd-against-ir=all \
// RUN: -enable-library-evolution \
// RUN: -Xfrontend -tbd-install_name -Xfrontend thing \
// RUN: -emit-module \
// RUN: -module-name thing \
// RUN: -enable-experimental-feature CoroutineAccessors
// REQUIRES: swift_feature_CoroutineAccessors
public struct S {}
public protocol P {
associatedtype A
var s: S { read set }
}
public protocol Q : P {
override var s: S { read set }
}