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