27 lines · plain
1// RUN: %clang_cc1 -std=c++11 %s -verify2 3// expected-no-diagnostics4@protocol NSObject5@end6 7@protocol NSCopying8@end9 10__attribute__((objc_root_class))11@interface NSObject <NSObject>12@end13 14@interface NSString : NSObject15@end16 17// --------------------------------------------------------------------------18// Parsing parameterized classes.19// --------------------------------------------------------------------------20@interface PC1<T, U, V> : NSObject21@end22 23// --------------------------------------------------------------------------24// Parsing type arguments.25// --------------------------------------------------------------------------26typedef PC1<::NSString *, NSString *, id<NSCopying>> typeArgs1;27