summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/Inputs/literal-support.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/Inputs/literal-support.h')
-rw-r--r--clang/test/CodeGenObjC/Inputs/literal-support.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/Inputs/literal-support.h b/clang/test/CodeGenObjC/Inputs/literal-support.h
index 5680a20c9fb..fc80d88b13d 100644
--- a/clang/test/CodeGenObjC/Inputs/literal-support.h
+++ b/clang/test/CodeGenObjC/Inputs/literal-support.h
@@ -3,6 +3,10 @@
typedef unsigned char BOOL;
+@interface NSObject
++ (id)alloc;
+@end
+
@interface NSNumber @end
@interface NSNumber (NSNumberCreation)
@@ -21,14 +25,14 @@ typedef unsigned char BOOL;
+ (NSNumber *)numberWithBool:(BOOL)value;
@end
-@interface NSArray
+@interface NSArray : NSObject
@end
@interface NSArray (NSArrayCreation)
+ (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt;
@end
-@interface NSDictionary
+@interface NSDictionary : NSObject
+ (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt;
@end
OpenPOWER on IntegriCloud