| 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 |
|
| 4 |
@interface NSNumber |
| 5 |
+ (NSNumber *)numberWithChar:(char)value; |
| 6 |
+ (NSNumber *)numberWithInt:(int)value; |
| 7 |
@end |
| 8 |
|
| 9 |
@protocol NSCopying @end |
| 10 |
typedef unsigned long NSUInteger; |
| 11 |
|
| 12 |
@interface NSDictionary |
| 13 |
+ (id)dictionaryWithObjects:(const id [])objects forKeys:(const id <NSCopying> [])keys count:(NSUInteger)cnt; |
| 14 |
@end |
| 15 |
|
| 16 |
@interface NSString<NSCopying> |
| 17 |
@end |
| 18 |
|
| 19 |
int main(void) { |
| 20 |
NSDictionary *dict = @{ @"name":@666 }; |
| 21 |
NSDictionary *dict1 = @{ @"name":@666 }; |
| 22 |
NSDictionary *dict2 = @{ @"name":@666 }; |
| 23 |
return 0; |
| 24 |
} |