mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02: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 {}
|