https://github.com/epiqc/ScaffCC
Raw File
Tip revision: 4d7bfa034cfaea4e8346396c6198cdd3e271d272 authored by Andrew Litteken on 23 April 2020, 16:55:47 UTC
Version 5 Upgrade! (#40)
Tip revision: 4d7bfa0
dot-syntax-2.m
// RUN: %clang_cc1 -emit-llvm -o %t %s
// rdar: // 8062778

@interface NSDictionary @end

@interface NSMutableDictionary : NSDictionary
@end

@interface MutableMyClass 
- (NSMutableDictionary *)myDict;
- (void)setMyDict:(NSDictionary *)myDict;

- (NSMutableDictionary *)myLang;
- (void)setMyLang:(NSDictionary *)myLang;
@end

@interface AnotherClass @end

@implementation AnotherClass
- (void)foo
{
    MutableMyClass * myObject;
    NSDictionary * newDict;
    myObject.myDict = newDict; 
    myObject.myLang = newDict;
}
@end
back to top