aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/warn-documentation.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-07-12 23:37:09 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-07-12 23:37:09 +0000
commit3d986980bd02594b1a5aa7b9f9f68d201621ced7 (patch)
tree7d048d7a9030e39a0dc725b9557754064c93df87 /test/Sema/warn-documentation.cpp
parent23458208b25acd7d2dfa003b029299e30124fe5f (diff)
Make concepts of optional and forbidden end tags separate. Thanks Jordan for pointing this!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/warn-documentation.cpp')
-rw-r--r--test/Sema/warn-documentation.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Sema/warn-documentation.cpp b/test/Sema/warn-documentation.cpp
index 3949b2ee49..b1c871a5fd 100644
--- a/test/Sema/warn-documentation.cpp
+++ b/test/Sema/warn-documentation.cpp
@@ -45,6 +45,9 @@ int test_html9(int);
*/
int test_html10(int);
+// expected-warning@+1 {{HTML closing tag 'br' is forbidden}}
+/// <br></br>
+int test_html11(int);
/// <blockquote>Meow</blockquote>
int test_html_nesting1(int);