aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-03-04 20:23:16 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-03-04 20:23:16 +0000
commit8cc9c9d2235b7ac45c480de49eb5a1d10dba4154 (patch)
treeca71db04aa7b49a66d81aae07c079818de206703
parentc9320095d0126a104552ae718af461ad53316a34 (diff)
Comment parsing tests: move a test into a group of similar tests
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176449 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Sema/warn-documentation.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/Sema/warn-documentation.cpp b/test/Sema/warn-documentation.cpp
index d054fac990..431bec1147 100644
--- a/test/Sema/warn-documentation.cpp
+++ b/test/Sema/warn-documentation.cpp
@@ -405,6 +405,12 @@ class test_tparam19 { };
// ----
+// expected-warning@+1 {{'@tparam' command used in a comment that is not attached to a template declaration}}
+/// @tparam T Aaa
+int test_tparam22;
+
+// ----
+
/// Aaa
/// \deprecated Bbb
@@ -799,10 +805,6 @@ void test_attach37<int>::test_attach38(int aaa, int bbb) {}
template<typename T>
void test_attach37<T>::test_attach39(int aaa, int bbb) {}
-// expected-warning@+1 {{'@tparam' command used in a comment that is not attached to a template declaration}}
-/// @tparam T Aaa
-int test_tparam22;
-
// We used to emit warning that parameter 'a' is not found because we parsed
// the comment in context of the redeclaration which does not have parameter
// names.