1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o %t.nopch.ll %s
2 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-pch -o %t.pch %s
3 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o %t.pch.ll %s -include-pch %t.pch
4 // REQUIRES: x86-registered-target
5 // RUN: diff %t.nopch.ll %t.pch.ll
11 - (id)objectAtIndexedSubscript:(int)index;
12 + (id)arrayWithObjects:(id *)objects count:(unsigned)count;
15 @interface NSMutableArray : NSArray
16 - (void)setObject:(id)object atIndexedSubscript:(int)index;
19 @interface NSDictionary
20 - (id)objectForKeyedSubscript:(id)key;
21 + (id)dictionaryWithObjects:(id *)objects forKeys:(id *)keys count:(unsigned)count;
24 @interface NSMutableDictionary : NSDictionary
25 - (void)setObject:(id)object forKeyedSubscript:(id)key;
29 + (NSNumber *)numberWithInt:(int)value;
35 + (NSValue *)valueWithBytes:(const void *)bytes objCType:(const char *)type;
38 typedef struct __attribute__((objc_boxable)) _some_struct {
42 id testArray(int idx, id p) {
43 NSMutableArray *array;
45 NSArray *arr = @[ p, @7 ];
49 void testDict(NSString *key, id newObject, id oldObject) {
50 NSMutableDictionary *dictionary;
51 oldObject = dictionary[key];
52 dictionary[key] = newObject;
53 NSDictionary *dict = @{ key: newObject, key: oldObject };
56 void testBoxableValue(void) {