clang-format: Add a test for PR19603 which seems fixed (maybe by r221338?).

llvm-svn: 223850
This commit is contained in:
Nico Weber 2014-12-09 23:22:35 +00:00
parent d167eac023
commit 238462627e
1 changed files with 3 additions and 0 deletions

View File

@ -2624,6 +2624,9 @@ TEST_F(FormatTest, MacrosWithoutTrailingSemicolon) {
EXPECT_EQ("SOME_WEIRD_LOG_MACRO << SomeThing;",
format("SOME_WEIRD_LOG_MACRO\n"
"<< SomeThing;"));
verifyFormat("VISIT_GL_CALL(GenBuffers, void, (GLsizei n, GLuint* buffers), "
"(n, buffers))\n", getChromiumStyle(FormatStyle::LK_Cpp));
}
TEST_F(FormatTest, MacroCallsWithoutTrailingSemicolon) {