astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2019-05-21 10:43:33 +02:00
parent 9838bfa79f
commit de4a33167d
4 changed files with 5 additions and 5 deletions

View File

@ -289,13 +289,13 @@ private:
void cpp11init3() {
check("struct A { void operator()(int); };\n"
"void f() {\n"
"A{}(0);\n"
"A{}(0);\n"
"}\n");
ASSERT_EQUALS("", errout.str());
check("template<class> struct A { void operator()(int); };\n"
"void f() {\n"
"A<int>{}(0);\n"
"A<int>{}(0);\n"
"}\n");
ASSERT_EQUALS("", errout.str());
}

View File

@ -7662,7 +7662,7 @@ private:
"template <bool> using c = int;\n"
"template <bool b> c<b> d;\n"
"template <> struct a<int> {\n"
"template <typename e> constexpr auto g() { d<0 || e::f>; return 0; }\n"
"template <typename e> constexpr auto g() { d<0 || e::f>; return 0; }\n"
"};\n"))
}