mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
19 lines
243 B
Swift
19 lines
243 B
Swift
|
|
public protocol P {
|
|
func doSomething()
|
|
}
|
|
|
|
@asmname("unknown") public
|
|
func unknown() -> ()
|
|
|
|
public class Y : P {
|
|
public func doAnotherThing() {
|
|
unknown()
|
|
}
|
|
|
|
public func doSomething() {
|
|
doAnotherThing()
|
|
}
|
|
public init() {}
|
|
}
|