mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
LinkNormal mode is used by the mandatory pipeline. It only needs to deserialize what is necessary for code generation, that is functions with shared linkage that must be emitted into the client.
29 lines
378 B
Swift
29 lines
378 B
Swift
|
|
@_silgen_name("unknown")
|
|
public func unknown() -> ()
|
|
|
|
@inline(never)
|
|
@inlinable
|
|
public func doSomething() {
|
|
unknown()
|
|
}
|
|
|
|
public func doSomething2() {
|
|
unknown()
|
|
}
|
|
|
|
@inline(never)
|
|
public func doSomething3<T>(_ a:T) {
|
|
unknown()
|
|
}
|
|
|
|
@usableFromInline struct A {
|
|
@usableFromInline init() {}
|
|
}
|
|
|
|
@inline(never)
|
|
@inlinable
|
|
public func callDoSomething3() {
|
|
doSomething3(A())
|
|
}
|