• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: %clang_cc1 -emit-llvm -o %t %s
2// rdar: // 8062778
3
4@interface NSDictionary @end
5
6@interface NSMutableDictionary : NSDictionary
7@end
8
9@interface MutableMyClass
10- (NSMutableDictionary *)myDict;
11- (void)setMyDict:(NSDictionary *)myDict;
12
13- (NSMutableDictionary *)myLang;
14- (void)setMyLang:(NSDictionary *)myLang;
15@end
16
17@interface AnotherClass @end
18
19@implementation AnotherClass
20- (void)foo
21{
22    MutableMyClass * myObject;
23    NSDictionary * newDict;
24    myObject.myDict = newDict;
25    myObject.myLang = newDict;
26}
27@end
28