blob: 48542634bdd9d48733645897166fd47e74bc5455 [file] [log] [blame]
Douglas Gregore9d95f12015-07-07 03:57:35 +00001// RUN: %clang_cc1 -std=c++11 %s -verify
2
3// expected-no-diagnostics
4@protocol NSObject
5@end
6
7@protocol NSCopying
8@end
9
10__attribute__((objc_root_class))
11@interface NSObject <NSObject>
12@end
13
14@interface NSString : NSObject
15@end
16
17// --------------------------------------------------------------------------
18// Parsing parameterized classes.
19// --------------------------------------------------------------------------
20@interface PC1<T, U, V> : NSObject
21@end
22
23// --------------------------------------------------------------------------
24// Parsing type arguments.
25// --------------------------------------------------------------------------
26typedef PC1<::NSString *, NSString *, id<NSCopying>> typeArgs1;