brintos

brintos / llvm-project-archived public Read only

0
0
Text · 429 B · ac7efcf Raw
25 lines · plain
1#import <Foundation/Foundation.h>2 3@interface Child : NSObject4@property(nonatomic, copy) NSString *name;5@end6 7@implementation Child8@end9 10@interface Parent : NSObject11@property(nonatomic, strong) Child *child;12@end13 14@implementation Parent15@end16 17int main(int argc, char **argv) {18  Child *child = [Child new];19  child.name = @"Seven";20  Parent *parent = [Parent new];21  parent.child = child;22  puts("break here");23  return 0;24}25