commit | ac4d0181928e3e22fa3929ca1b24ae7f14fb7628 | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Sat Oct 12 13:32:56 2013 +0000 |
committer | Daniel Jasper <djasper@google.com> | Sat Oct 12 13:32:56 2013 +0000 |
tree | 08bbf0d6e341934ab844c5409cf82fe6ce1ff750 | |
parent | a0950e83cae5df77c00d02d7f77a166979cd2b8b [diff] [blame] |
clang-format: Fix assertion on unterminated #ifs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192535 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp index 5fea8e7..6e8179a 100644 --- a/unittests/Format/FormatTest.cpp +++ b/unittests/Format/FormatTest.cpp
@@ -2317,6 +2317,8 @@ " x();\n" "}", getLLVMStyleWithColumns(28)); + verifyFormat("#if 1\n" + "int i;"); } TEST_F(FormatTest, LayoutBlockInsideParens) {