mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
11 lines
213 B
Swift
11 lines
213 B
Swift
public protocol Foo {}
|
|
extension Bool: Foo {}
|
|
|
|
@_rawLayout(like: T)
|
|
public struct Fred<T: Foo>: ~Copyable {
|
|
public init() {}
|
|
}
|
|
|
|
@_rawLayout(like: T, movesAsLike)
|
|
public struct CellThatMovesLike<T>: ~Copyable {}
|