25 lines · plain
1// RUN: %clang_cc1 -x objective-c -triple x86_64-apple-darwin10 -fblocks -emit-llvm %s -o /dev/null2// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fblocks -emit-llvm %s -o /dev/null3 4@interface NSNumber5+ (NSNumber *)numberWithChar:(char)value;6+ (NSNumber *)numberWithInt:(int)value;7@end8 9@protocol NSCopying @end10typedef unsigned long NSUInteger;11 12@interface NSDictionary13+ (id)dictionaryWithObjects:(const id [])objects forKeys:(const id <NSCopying> [])keys count:(NSUInteger)cnt;14@end15 16@interface NSString<NSCopying>17@end18 19int main(void) {20 NSDictionary *dict = @{ @"name":@666 };21 NSDictionary *dict1 = @{ @"name":@666 };22 NSDictionary *dict2 = @{ @"name":@666 };23 return 0;24}25