Files
swift-mirror/test/SILOptimizer/Inputs/TestModule.swift
T
Roman Levenstein 06efb77e4e Fix tests
2017-10-05 15:51:32 -07:00

25 lines
262 B
Swift

@_versioned
protocol Proto {
func confx()
}
public struct MyStruct : Proto {
@_versioned
func confx() {
}
public init() {
}
}
@inline(never)
@_versioned
func callit(_ p: Proto) {
}
@_transparent
public func testit(_ n: MyStruct) {
callit(n)
}