aboutsummaryrefslogtreecommitdiff
path: root/unittests/Format/FormatTest.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-02-13 04:40:03 +0000
committerNico Weber <nicolasweber@gmx.de>2013-02-13 04:40:03 +0000
commite0dc7c70ee3fc1d6bdd8e2f166cc9e9be89061d9 (patch)
treec42a98c2baa9c351fbdda472a29df14c16c054ce /unittests/Format/FormatTest.cpp
parent6fa7e74dea00f66315835e70cdea047ba58f7b4c (diff)
Formatter: And more cast tests (these don't pass yet).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175031 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Format/FormatTest.cpp')
-rw-r--r--unittests/Format/FormatTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp
index 20667208da..354654b1e2 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.