You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.4 KiB
44 lines
1.4 KiB
// RUN: rm -rf %t
|
|
// RUN: mkdir %t
|
|
// RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s > %t/out
|
|
// RUN: FileCheck %s < %t/out
|
|
// rdar://13647476
|
|
|
|
//! NSObject is root of all.
|
|
@interface NSObject
|
|
@end
|
|
// CHECK: CommentAST=[
|
|
// CHECK-NEXT: (CXComment_FullComment
|
|
// CHECK-NEXT: (CXComment_Paragraph
|
|
// CHECK-NEXT: (CXComment_Text Text=[ NSObject is root of all.])))]
|
|
|
|
//! An umbrella class for super classes.
|
|
@interface SuperClass
|
|
@end
|
|
// CHECK: CommentAST=[
|
|
// CHECK-NEXT: (CXComment_FullComment
|
|
// CHECK-NEXT: (CXComment_Paragraph
|
|
// CHECK-NEXT: (CXComment_Text Text=[ An umbrella class for super classes.])))]
|
|
|
|
@interface SubClass : SuperClass
|
|
@end
|
|
// CHECK: CommentAST=[
|
|
// CHECK-NEXT: (CXComment_FullComment
|
|
// CHECK-NEXT: (CXComment_Paragraph
|
|
// CHECK-NEXT: (CXComment_Text Text=[ An umbrella class for super classes.])))]
|
|
|
|
@interface SubSubClass : SubClass
|
|
@end
|
|
// CHECK: CommentAST=[
|
|
// CHECK-NEXT: (CXComment_FullComment
|
|
// CHECK-NEXT: (CXComment_Paragraph
|
|
// CHECK-NEXT: (CXComment_Text Text=[ An umbrella class for super classes.])))]
|
|
|
|
@interface SubSubClass (Private)
|
|
@end
|
|
// CHECK: CommentAST=[
|
|
// CHECK-NEXT: (CXComment_FullComment
|
|
// CHECK-NEXT: (CXComment_Paragraph
|
|
// CHECK-NEXT: (CXComment_Text Text=[ An umbrella class for super classes.])))]
|
|
|