commit | 53bd167c60dca5d0e59c0069d2644aecc2151985 | [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 | 801fd995836b414676e044c6eb0f0795d4e40f99 | |
parent | 7f5823844ae92f64f31db8af2ef3173ecf1349f0 [diff] [blame] |
clang-format: Fix assertion on unterminated #ifs. llvm-svn: 192535
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index 5fea8e7..6e8179a 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp
@@ -2317,6 +2317,8 @@ " x();\n" "}", getLLVMStyleWithColumns(28)); + verifyFormat("#if 1\n" + "int i;"); } TEST_F(FormatTest, LayoutBlockInsideParens) {