mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
For imported resilient protocols, we cannot directly emit witness table symbol when a local type conforms to them because initializing these protocols are required. rdar://60429448
8 lines
343 B
Swift
8 lines
343 B
Swift
// REQUIRES: VENDOR=apple
|
|
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -parse-as-library -module-name test -validate-tbd-against-ir=all %s -enable-library-evolution -emit-tbd -emit-tbd-path %t.result.tbd -tbd-is-installapi -parse-as-library -emit-ir -o/dev/null
|
|
|
|
public enum TestError : Error {
|
|
case unsupportedVersion(Int)
|
|
}
|