forked from OSchip/llvm-project
44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
// 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.])))]
|
|
|