We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2feda02 commit 4d6b421Copy full SHA for 4d6b421
1 file changed
test/testother.cpp
@@ -7304,6 +7304,15 @@ class TestOther : public TestFixture {
7304
" }\n"
7305
"}");
7306
ASSERT_EQUALS("", errout_str());
7307
+
7308
+ check("void f(int i) {\n"
7309
+ " if (1 == i) {\n"
7310
+ " ;\n"
7311
+ " } else {\n"
7312
7313
+ " }\n"
7314
+ "}\n");
7315
+ ASSERT_EQUALS("", errout_str());
7316
}
7317
7318
void duplicateBranch6() {
0 commit comments