diff options
Diffstat (limited to 'clang/unittests/Format/FormatTestTableGen.cpp')
| -rw-r--r-- | clang/unittests/Format/FormatTestTableGen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTestTableGen.cpp b/clang/unittests/Format/FormatTestTableGen.cpp index b3771f6d812..06029bd8c72 100644 --- a/clang/unittests/Format/FormatTestTableGen.cpp +++ b/clang/unittests/Format/FormatTestTableGen.cpp @@ -51,5 +51,9 @@ TEST_F(FormatTestTableGen, FormatStringBreak) { " \"very long help string\">;\n"); } +TEST_F(FormatTestTableGen, NoSpacesInSquareBracketLists) { + verifyFormat("def flag : Flag<[\"-\", \"--\"], \"foo\">;\n"); +} + } // namespace format } // end namespace clang |

