Files
swift-mirror/test/IRGen/Inputs/objc_implementation.h
Becca Royal-Gordon bd4108c6be Emit imported @objcImpl conformances
Fixes rdar://108482165.
2023-05-03 19:26:42 -07:00

42 lines
639 B
Objective-C

#import <Foundation/Foundation.h>
@interface ImplClass: NSObject <NSCopying>
- (nonnull instancetype)init;
@property (assign) int implProperty;
- (void)mainMethod:(int)param;
@end
@interface ImplClass (Category1)
- (void)category1Method:(int)param;
@end
@interface ImplClass (Category2)
- (void)category2Method:(int)param;
@end
@interface NoImplClass
- (void)noImplMethod:(int)param;
@end
@interface NoInitImplClass: NSObject
@property (readonly, strong, nonnull) NSString *s1;
@property (strong, nonnull) NSString *s2;
@property (readonly, strong, nonnull) NSString *s3;
@property (strong, nonnull) NSString *s4;
@end