Files
swift-mirror/test/multifile/conditional-conformance.swift
Robert Widmann eba9bbe36b Use the Formal Access *Scope* of the Extended Nominal For Its Max Access
Formal access alone does not take into account @testable imports of
internal types. This prevented otherwise valid conditional conformances
of these types from compiling.

rdar://72875683
2021-01-15 17:10:49 -08:00

10 lines
390 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -emit-module-path %t/catch22.swiftmodule %S/Inputs/conditional-conformance-catch22.swift -module-name catch22 -enable-testing
// RUN: %target-swift-frontend -typecheck %s -I %t
@testable import catch22
extension Catch22: Comparable where Value: Comparable {
public static func <(lhs: Catch22, rhs: Catch22) -> Bool { true }
}