summaryrefslogtreecommitdiffstats
path: root/test/clang-doc/test_cases/comment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/clang-doc/test_cases/comment.cpp')
-rw-r--r--test/clang-doc/test_cases/comment.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/clang-doc/test_cases/comment.cpp b/test/clang-doc/test_cases/comment.cpp
new file mode 100644
index 00000000..9a4ae1b0
--- /dev/null
+++ b/test/clang-doc/test_cases/comment.cpp
@@ -0,0 +1,28 @@
+// THIS IS A GENERATED TEST. DO NOT EDIT.
+// To regenerate, see clang-doc/gen_test.py docstring.
+//
+// RUN: rm -rf %t
+// RUN: mkdir %t
+// RUN: echo "" > %t/compile_flags.txt
+// RUN: cp "%s" "%t/test.cpp"
+
+/// \brief Brief description.
+///
+/// Extended description that
+/// continues onto the next line.
+///
+/// <ul class="test">
+/// <li> Testing.
+/// </ul>
+///
+/// \verbatim
+/// The description continues.
+/// \endverbatim
+/// --
+/// \param [out] I is a parameter.
+/// \param J is a parameter.
+/// \return void
+void F(int I, int J);
+
+/// Bonus comment on definition
+void F(int I, int J) {}