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