mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Previously we would drop all serialized SIL from partial swiftmodule files generated while compiling source in non-WMO mode; all that was missing was linking it in. This adds a frontend flag, and a test; driver change is coming up next. Progress on <rdar://problem/18913977>.
15 lines
210 B
Swift
15 lines
210 B
Swift
@inline(__always)
|
|
func internalFunction() {}
|
|
|
|
@_versioned
|
|
func versionedFunction() {}
|
|
|
|
public protocol Shape {
|
|
func draw()
|
|
var area: Float { get }
|
|
}
|
|
|
|
public class ShapeManager {
|
|
public func manage() {}
|
|
}
|