brintos

brintos / llvm-project-archived public Read only

0
0
Text · 508 B · c48c39c Raw
27 lines · plain
1// RUN: %clang_cc1 -emit-llvm -o %t %s2 3@interface NSDictionary @end4 5@interface NSMutableDictionary : NSDictionary6@end7 8@interface MutableMyClass 9- (NSMutableDictionary *)myDict;10- (void)setMyDict:(NSDictionary *)myDict;11 12- (NSMutableDictionary *)myLang;13- (void)setMyLang:(NSDictionary *)myLang;14@end15 16@interface AnotherClass @end17 18@implementation AnotherClass19- (void)foo20{21    MutableMyClass * myObject;22    NSDictionary * newDict;23    myObject.myDict = newDict; 24    myObject.myLang = newDict;25}26@end27