summaryrefslogtreecommitdiffstats
path: root/clang/test/AST/ast-dump-comment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/AST/ast-dump-comment.cpp')
-rw-r--r--clang/test/AST/ast-dump-comment.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/AST/ast-dump-comment.cpp b/clang/test/AST/ast-dump-comment.cpp
index 5bd6934d80c..da73483f041 100644
--- a/clang/test/AST/ast-dump-comment.cpp
+++ b/clang/test/AST/ast-dump-comment.cpp
@@ -47,6 +47,11 @@ int Test_InlineCommandComment;
// CHECK: VarDecl{{.*}}Test_InlineCommandComment
// CHECK: InlineCommandComment{{.*}} Name="c" RenderMonospaced Arg[0]="Aaa"
+/// \anchor Aaa
+int Test_InlineCommandCommentAnchor;
+// CHECK: VarDecl{{.*}}Test_InlineCommandComment
+// CHECK: InlineCommandComment{{.*}} Name="anchor" RenderAnchor Arg[0]="Aaa"
+
/// <a>Aaa</a>
/// <br/>
int Test_HTMLTagComment;
OpenPOWER on IntegriCloud