mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
14 lines
207 B
Swift
14 lines
207 B
Swift
@inline(__always) public func testAlwaysInline(x x: Bool) -> Bool {
|
|
return x
|
|
}
|
|
|
|
public struct AlwaysInlineInitStruct {
|
|
var x: Bool
|
|
|
|
@inline(__always)
|
|
public init(x x2: Bool) {
|
|
self.x = x2
|
|
}
|
|
}
|
|
|