diff options
Diffstat (limited to 'src/plugins/cppeditor/cppdoxygen_test.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppdoxygen_test.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppdoxygen_test.cpp b/src/plugins/cppeditor/cppdoxygen_test.cpp index 639e0d5b8a..79e4e9f2d9 100644 --- a/src/plugins/cppeditor/cppdoxygen_test.cpp +++ b/src/plugins/cppeditor/cppdoxygen_test.cpp @@ -295,6 +295,20 @@ void DoxygenTest::testBasic_data() " */\n" "API void f();\n" ); + + QTest::newRow("withAccessSpecifierBeforeFunction") << _( + "class C {\n" + " /**|\n" + " public: void f();\n" + "};\n" + ) << _( + "class C {\n" + " /**\n" + " * @brief f\n" + " */\n" + " public: void f();\n" + "};\n" + ); } void DoxygenTest::testBasic() |