From 05e22f2ef0dd954b7328c0fbf619d2c0089870e1 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Mon, 4 Mar 2013 20:23:16 +0000 Subject: [PATCH] Comment parsing tests: move a test into a group of similar tests llvm-svn: 176449 --- clang/test/Sema/warn-documentation.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/clang/test/Sema/warn-documentation.cpp b/clang/test/Sema/warn-documentation.cpp index d054fac..431bec1 100644 --- a/clang/test/Sema/warn-documentation.cpp +++ b/clang/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::test_attach38(int aaa, int bbb) {} template void test_attach37::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. -- 2.7.4