aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
-rw-r--r--clang/unittests/Format/FormatTestJava.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTestJava.cpp b/clang/unittests/Format/FormatTestJava.cpp
index 591d1f3..c515667 100644
--- a/clang/unittests/Format/FormatTestJava.cpp
+++ b/clang/unittests/Format/FormatTestJava.cpp
@@ -82,6 +82,11 @@ TEST_F(FormatTestJava, ClassDeclarations) {
" implements cccccccccccc {\n"
"}",
getStyleWithColumns(76));
+ verifyFormat("@SomeAnnotation()\n"
+ "abstract class aaaaaaaaa<a> extends bbbbbbbbbbbb<b>\n"
+ " implements cccccccccccc {\n"
+ "}",
+ getStyleWithColumns(76));
}
TEST_F(FormatTestJava, EnumDeclarations) {