summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/warn-documentation.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2015-04-15 23:45:43 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2015-04-15 23:45:43 +0000
commit8b7206250ff908899303e768d9d770a59367df0d (patch)
treeeff64b61c13c05c481ff3e74106aad580895f075 /clang/test/Sema/warn-documentation.cpp
parentb4b8bb72cbeb063bdd6aa1a4ee87a81f926845f5 (diff)
downloadbcm5719-llvm-8b7206250ff908899303e768d9d770a59367df0d.tar.gz
bcm5719-llvm-8b7206250ff908899303e768d9d770a59367df0d.zip
Comment parsing: fix an assertion failure on a verbatim block terminated with "**/"
llvm-svn: 235057
Diffstat (limited to 'clang/test/Sema/warn-documentation.cpp')
-rw-r--r--clang/test/Sema/warn-documentation.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Sema/warn-documentation.cpp b/clang/test/Sema/warn-documentation.cpp
index 4375cfcf560..5d866359aa7 100644
--- a/clang/test/Sema/warn-documentation.cpp
+++ b/clang/test/Sema/warn-documentation.cpp
@@ -1038,6 +1038,12 @@ int test_nocrash12();
///@param x@param y
int test_nocrash13(int x, int y);
+/**
+ * \verbatim
+ * Aaa
+ **/
+int test_nocrash14();
+
// rdar://12379114
// expected-warning@+2 {{'@union' command should not be used in a comment attached to a non-union declaration}}
/*!
OpenPOWER on IntegriCloud