Files
swift-mirror/test/SILGen/Inputs/objc_bridged_results.h
Jordan Rose 50e3b33739 [ClangImporter] Implement importing of ObjC class properties.
For the most part this was just "check isInstanceProperty"; the one feature not yet implemented
is the emission of ObjC metadata for class properties.

rdar://problem/16830785
2016-03-31 14:27:56 -07:00

17 lines
581 B
Objective-C

@import Foundation;
@interface Test : NSObject
@property (nonnull, readonly) NSArray *nonnullArray;
@property (nullable, readonly) NSArray *nullableArray;
@property (null_unspecified, readonly) NSArray *nullUnspecifiedArray;
@property (nonnull, readonly) NSDictionary *nonnullDictionary;
@property (nonnull, readonly) NSSet *nonnullSet;
@property (nonnull, readonly) NSString *nonnullString;
@property (class, nonnull, readonly) NSString *nonnullSharedString;
// Subscripts still have thunks wrapped around them.
- (nonnull NSArray *)objectAtIndexedSubscript:(long)index;
@end