1*67e74705SXin Li// RUN: %clang_cc1 -x objective-c -triple x86_64-apple-darwin10 -fblocks -emit-llvm %s -o /dev/null 2*67e74705SXin Li// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fblocks -emit-llvm %s -o /dev/null 3*67e74705SXin Li// rdar://10614657 4*67e74705SXin Li 5*67e74705SXin Li@interface NSNumber 6*67e74705SXin Li+ (NSNumber *)numberWithChar:(char)value; 7*67e74705SXin Li+ (NSNumber *)numberWithInt:(int)value; 8*67e74705SXin Li@end 9*67e74705SXin Li 10*67e74705SXin Li@protocol NSCopying @end 11*67e74705SXin Litypedef unsigned long NSUInteger; 12*67e74705SXin Li 13*67e74705SXin Li@interface NSDictionary 14*67e74705SXin Li+ (id)dictionaryWithObjects:(const id [])objects forKeys:(const id <NSCopying> [])keys count:(NSUInteger)cnt; 15*67e74705SXin Li@end 16*67e74705SXin Li 17*67e74705SXin Li@interface NSString<NSCopying> 18*67e74705SXin Li@end 19*67e74705SXin Li 20*67e74705SXin Liint main() { 21*67e74705SXin Li NSDictionary *dict = @{ @"name":@666 }; 22*67e74705SXin Li NSDictionary *dict1 = @{ @"name":@666 }; 23*67e74705SXin Li NSDictionary *dict2 = @{ @"name":@666 }; 24*67e74705SXin Li return 0; 25*67e74705SXin Li} 26