diff options
-rw-r--r-- | clang/test/Index/comment-objc-decls.m | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/clang/test/Index/comment-objc-decls.m b/clang/test/Index/comment-objc-decls.m index 7844ae59abd..2894ee88f52 100644 --- a/clang/test/Index/comment-objc-decls.m +++ b/clang/test/Index/comment-objc-decls.m @@ -80,6 +80,21 @@ // CHECK: <Declaration>@property ( readwrite,copy,atomic ) id PropertyMyClass</Declaration /** + * \brief - This is class extension of MyClass +*/ +@interface MyClass() +{ +/** + * \brief IvarMyClassExtension - IvarMyClassExtension private to class extension +*/ + id IvarMyClassExtension; +} +@end +// CHECK: <Declaration>@interface MyClass()\n{\n id IvarMyClassExtension;\n}\n@end</Declaration> +// CHECK: <Declaration>id IvarMyClassExtension</Declaration> + + +/** * \brief MyClass (Category) is private to MyClass. */ @interface MyClass (Category) |