Comment parsing tests: move a test into a group of similar tests
authorDmitri Gribenko <gribozavr@gmail.com>
Mon, 4 Mar 2013 20:23:16 +0000 (20:23 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Mon, 4 Mar 2013 20:23:16 +0000 (20:23 +0000)
llvm-svn: 176449

clang/test/Sema/warn-documentation.cpp

index d054fac..431bec1 100644 (file)
@@ -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.