[PrintAsObjC] Test that we don't leak extended implementationOnly types

This commit is contained in:
Alexis Laferrière
2020-03-06 17:12:05 -08:00
parent 8f01b2c8f8
commit 4e8867e021
2 changed files with 7 additions and 0 deletions

View File

@@ -77,3 +77,7 @@ import MostlyPrivate2_Private
@objc public class TestSubclass: NSObject {
@_implementationOnly public override func secretMethod() {}
}
extension SecretClass {
private func somethingThatShouldNotBeIncluded() {}
}