1// RUN: rm -rf %t
2// RUN: mkdir %t
3// RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s > %t/out
4// RUN: FileCheck %s < %t/out
5// rdar://13647476
6
7//! NSObject is root of all.
8@interface NSObject
9@end
10// CHECK:  CommentAST=[
11// CHECK-NEXT:    (CXComment_FullComment
12// CHECK-NEXT:       (CXComment_Paragraph
13// CHECK-NEXT:         (CXComment_Text Text=[ NSObject is root of all.])))]
14
15//! An umbrella class for super classes.
16@interface SuperClass
17@end
18// CHECK:  CommentAST=[
19// CHECK-NEXT:    (CXComment_FullComment
20// CHECK-NEXT:       (CXComment_Paragraph
21// CHECK-NEXT:         (CXComment_Text Text=[ An umbrella class for super classes.])))]
22
23@interface SubClass : SuperClass
24@end
25// CHECK:  CommentAST=[
26// CHECK-NEXT:    (CXComment_FullComment
27// CHECK-NEXT:       (CXComment_Paragraph
28// CHECK-NEXT:         (CXComment_Text Text=[ An umbrella class for super classes.])))]
29
30@interface SubSubClass : SubClass
31@end
32// CHECK:  CommentAST=[
33// CHECK-NEXT:    (CXComment_FullComment
34// CHECK-NEXT:       (CXComment_Paragraph
35// CHECK-NEXT:         (CXComment_Text Text=[ An umbrella class for super classes.])))]
36
37@interface SubSubClass (Private)
38@end
39// CHECK:  CommentAST=[
40// CHECK-NEXT:    (CXComment_FullComment
41// CHECK-NEXT:       (CXComment_Paragraph
42// CHECK-NEXT:         (CXComment_Text Text=[ An umbrella class for super classes.])))]
43
44