Files
swift-mirror/test/multifile/multiconformanceimpls/Inputs/C.swift
2018-05-14 13:53:54 -07:00

16 lines
282 B
Swift

import A
extension Impl : Proto {
public func wellNow() {
print("Impl conformance in C")
}
}
public func checkAnyInC() {
if let container = any as? Container<Impl> {
container.contained.wellNow()
} else {
print("check returned not Container<Impl> in C")
}
}