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