llvm-project
26 строк · 508.0 Байт
1// RUN: %clang_cc1 -emit-llvm -o %t %s
2
3@interface NSDictionary @end
4
5@interface NSMutableDictionary : NSDictionary
6@end
7
8@interface MutableMyClass
9- (NSMutableDictionary *)myDict;
10- (void)setMyDict:(NSDictionary *)myDict;
11
12- (NSMutableDictionary *)myLang;
13- (void)setMyLang:(NSDictionary *)myLang;
14@end
15
16@interface AnotherClass @end
17
18@implementation AnotherClass
19- (void)foo
20{
21MutableMyClass * myObject;
22NSDictionary * newDict;
23myObject.myDict = newDict;
24myObject.myLang = newDict;
25}
26@end
27