Skip to content

Commit 4d6b421

Browse files
committed
add test
1 parent 2feda02 commit 4d6b421

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

test/testother.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7304,6 +7304,15 @@ class TestOther : public TestFixture {
73047304
" }\n"
73057305
"}");
73067306
ASSERT_EQUALS("", errout_str());
7307+
7308+
check("void f(int i) {\n"
7309+
" if (1 == i) {\n"
7310+
" ;\n"
7311+
" } else {\n"
7312+
" ;\n"
7313+
" }\n"
7314+
"}\n");
7315+
ASSERT_EQUALS("", errout_str());
73077316
}
73087317

73097318
void duplicateBranch6() {

0 commit comments

Comments
 (0)