Files
swift-mirror/test/SIL/Serialization/Inputs/vtable_deserialization_input.swift
Joe Groff fbd2e4d872 Rename @asmname to @_silgen_name.
This reflects the fact that the attribute's only for compiler-internal use, and isn't really equivalent to C's asm attribute, since it doesn't change the calling convention to be C-compatible.
2015-11-17 14:13:48 -08:00

19 lines
248 B
Swift

public protocol P {
func doSomething()
}
@_silgen_name("unknown") public
func unknown() -> ()
public class Y : P {
public func doAnotherThing() {
unknown()
}
public func doSomething() {
doAnotherThing()
}
public init() {}
}