summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTestProto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Format/FormatTestProto.cpp')
-rw-r--r--clang/unittests/Format/FormatTestProto.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTestProto.cpp b/clang/unittests/Format/FormatTestProto.cpp
index 27ecde7f340..40a069b3f3d 100644
--- a/clang/unittests/Format/FormatTestProto.cpp
+++ b/clang/unittests/Format/FormatTestProto.cpp
@@ -432,5 +432,11 @@ TEST_F(FormatTestProto, FormatsOptionsExtensions) {
"};");
}
+TEST_F(FormatTestProto, NoSpaceAfterPercent) {
+ verifyFormat("option (MyProto.options) = {\n"
+ " key: %lld\n"
+ "};");
+}
+
} // end namespace tooling
} // end namespace clang
OpenPOWER on IntegriCloud