Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Aug 24, 2024
1 parent fba5307 commit 0021c43
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions test/testcondition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4990,19 +4990,19 @@ class TestCondition : public TestFixture {
ASSERT_EQUALS("", errout_str());

check("struct S {\n" // #12727
" bool f() const {\n"
" return g() > 0;\n"
" }\n"
" std::size_t g() const {\n"
" return 5 - h();\n"
" }\n"
" std::size_t h() const {\n"
" if (x > 7)\n"
" return 5;\n"
" return (5 + x) % 5;\n"
" }\n"
" std::size_t x;\n"
"};\n");
" bool f() const {\n"
" return g() > 0;\n"
" }\n"
" std::size_t g() const {\n"
" return 5 - h();\n"
" }\n"
" std::size_t h() const {\n"
" if (x > 7)\n"
" return 5;\n"
" return (5 + x) % 5;\n"
" }\n"
" std::size_t x;\n"
"};\n");
ASSERT_EQUALS("", errout_str());
}

Expand Down

0 comments on commit 0021c43

Please sign in to comment.