mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
24 lines
506 B
Swift
24 lines
506 B
Swift
public struct Regular: ~Copyable {
|
|
private let sorry = 0
|
|
// FIXME: rdar://108933330 (cannot define struct deinit with -enable-library-evolution)
|
|
// deinit {}
|
|
}
|
|
|
|
public extension Regular {
|
|
__consuming func endParty() {
|
|
// FIXME: rdar://108933330 (cannot define struct deinit with -enable-library-evolution)
|
|
// discard self
|
|
}
|
|
}
|
|
|
|
@frozen public struct Frozen: ~Copyable {
|
|
private let lotfan = 0
|
|
deinit {}
|
|
}
|
|
|
|
public extension Frozen {
|
|
__consuming func endParty() {
|
|
discard self
|
|
}
|
|
}
|