diff options
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
| -rw-r--r-- | clang/unittests/Format/FormatTestJava.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTestJava.cpp b/clang/unittests/Format/FormatTestJava.cpp index f7d85fc4a0e..d38a8070bdc 100644 --- a/clang/unittests/Format/FormatTestJava.cpp +++ b/clang/unittests/Format/FormatTestJava.cpp @@ -74,6 +74,9 @@ TEST_F(FormatTestJava, Annotations) { verifyFormat("@SuppressWarnings(value = \"unchecked\")\n" "public void doSomething() {\n}"); + verifyFormat("@SuppressWarnings(value = \"unchecked\")\n" + "@Author(name = \"abc\")\n" + "public void doSomething() {\n}"); verifyFormat("DoSomething(new A() {\n" " @Override\n" |

