mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
1f008fb0d0
And update tests to use them. This commit depends on fixes in swiftlang/swift PRs #86905, #87129, and #87130. Fixes rdar://169749886.
16 lines
534 B
Swift
16 lines
534 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-emit-module-interface(%t/Foo.swiftinterface) %s -module-name Foo
|
|
// RUN: %target-swift-typecheck-module-from-interface(%t/Foo.swiftinterface) -module-name Foo
|
|
// RUN: %FileCheck %s < %t/Foo.swiftinterface
|
|
|
|
// CHECK: public class HideyHole
|
|
public class HideyHole {
|
|
// CHECK-NOT: public init()
|
|
@_spi(Private) public init() {}
|
|
}
|
|
|
|
// CHECK: @_inheritsConvenienceInitializers public class StashyCache : Foo::HideyHole
|
|
public class StashyCache: HideyHole {
|
|
// CHECK: public init()
|
|
}
|