While reviewing r172303 I noticed that I wasn't sure whether we still
format those correctly and didn't see any tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172396
91177308-0d34-0410-b5e6-
96231b3b80d8
verifyGoogleFormat("A<int**, int**> a;");
verifyGoogleFormat("f(b ? *c : *d);");
verifyGoogleFormat("int a = b ? *c : *d;");
+
+ verifyFormat("a = *(x + y);");
+ verifyFormat("a = &(x + y);");
+ verifyFormat("*(x + y).call();");
+ verifyFormat("&(x + y)->call();");
+ verifyFormat("&(*I).first");
}
TEST_F(FormatTest, FormatsCasts) {