astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2018-05-31 07:02:08 +02:00
parent 02f9ab38b4
commit ccbfd623d5
1 changed files with 2 additions and 3 deletions

View File

@ -1657,14 +1657,13 @@ private:
2, ":: %name% (")); 2, ":: %name% ("));
} }
void templateParameterWithoutName() void templateParameterWithoutName() {
{
ASSERT_EQUALS(1U, templateParameters("template<typename = void> struct s;")); ASSERT_EQUALS(1U, templateParameters("template<typename = void> struct s;"));
ASSERT_EQUALS(1U, templateParameters("template<template<typename = float> typename T> struct A {\n" ASSERT_EQUALS(1U, templateParameters("template<template<typename = float> typename T> struct A {\n"
" void f();n" " void f();n"
" void g();\n" " void g();\n"
"};n")); "};n"));
} }
}; };
REGISTER_TEST(TestSimplifyTemplate) REGISTER_TEST(TestSimplifyTemplate)