25 lines · plain
1// RUN: rm -rf %t2// RUN: mkdir %t3// RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng -target x86_64-apple-darwin10 %s > %t/out4// RUN: FileCheck %s < %t/out5 6// Ensure that XML we generate is not invalid.7// RUN: FileCheck %s -check-prefix=WRONG < %t/out8// WRONG-NOT: CommentXMLInvalid9 10@protocol NSObject11@end12 13@interface NSObject14@end15 16// CHECK: <Declaration>@interface A<__covariant T : id, U : NSObject *> : NSObject17/// A18@interface A<__covariant T : id, U : NSObject *> : NSObject19@end20 21// CHECK: <Declaration>@interface AA : A <id, NSObject *>22/// AA23@interface AA : A<id, NSObject *>24@end25