Skip to content

Commit 0357bb6

Browse files
committed
add test
1 parent 29760ce commit 0357bb6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

test/testother.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4108,6 +4108,14 @@ class TestOther : public TestFixture {
41084108
" if (*pp) {}\n"
41094109
"}\n");
41104110
ASSERT_EQUALS("", errout_str());
4111+
4112+
check("class C {\n"
4113+
"public:\n"
4114+
" explicit C(const std::string s);\n"
4115+
"private:\n"
4116+
" std::string _s;\n"
4117+
"};\n");
4118+
ASSERT_EQUALS("", errout_str());
41114119
}
41124120

41134121
void constParameterCallback() {

0 commit comments

Comments
 (0)