1 // RUN: %clang_cc1 -emit-pch %s -o %t
2 // RUN: %clang_cc1 -include-pch %t -verify %s
4 #ifndef HEADER_INCLUDED
6 #define HEADER_INCLUDED
13 __attribute__((objc_root_class))
14 @interface NSObject <NSObject>
17 @interface NSString : NSObject <NSCopying>
20 @interface NSMutableString : NSString
23 @interface NSNumber : NSObject <NSCopying>
26 extern __kindof NSObject <NSCopying> *kindof_NSObject_NSCopying;
29 void testPrettyPrint(int *ip) {
30 ip = kindof_NSObject_NSCopying; // expected-warning{{from '__kindof NSObject<NSCopying> *'}}