mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
* De-underscore @frozen for enums * Add @frozen for structs, deprecate @_fixed_layout for them * Switch usage from _fixed_layout to frozen
15 lines
190 B
Swift
15 lines
190 B
Swift
|
|
public typealias Int = Builtin.Int32
|
|
|
|
@frozen
|
|
public struct Container<V> {
|
|
@inlinable
|
|
@inline(never)
|
|
public func doSomething() {}
|
|
|
|
@inlinable
|
|
@inline(never)
|
|
public init() {}
|
|
}
|
|
|