clang-format: Fix broken test.

llvm-svn: 220374
This commit is contained in:
Daniel Jasper 2014-10-22 09:01:12 +00:00
parent e8a4939b77
commit b52c69e567
1 changed files with 1 additions and 1 deletions

View File

@ -3526,7 +3526,7 @@ TEST_F(FormatTest, TrailingReturnType) {
" -> alias::tensor<Order, T, mem::tag::cpu> {}");
verifyFormat("auto SomeFunction(A aaaaaaaaaaaaaaaaaaaaa) const\n"
" -> decltype(f(aaaaaaaaaaaaaaaaaaaaa)) {}");
verifyFormat("auto doSomething(Aaaaaa* aaaaaa) -> decltype(aaaaaa->f()) {}");
verifyFormat("auto doSomething(Aaaaaa *aaaaaa) -> decltype(aaaaaa->f()) {}");
// Not trailing return types.
verifyFormat("void f() { auto a = b->c(); }");