diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp index 20667208da1b0f39a5a8bff428174a88cc9e18a5..354654b1e2849e1067b2e7aa61da08cbc936c1fb 100644 --- a/unittests/Format/FormatTest.cpp +++ b/unittests/Format/FormatTest.cpp @@ -2415,6 +2415,8 @@ TEST_F(FormatTest, FormatObjCMethodExpr) { verifyFormat("int a = *[foo bar:baz];"); // FIXME: Make casts work, without breaking f()[4]. //verifyFormat("int a = (int)[foo bar:baz];"); + //verifyFormat("return (int)[foo bar:baz];"); + //verifyFormat("(void)[foo bar:baz];"); verifyFormat("return (MyType *)[self.tableView cellForRowAtIndexPath:cell];"); // Binary operators.