diff --git a/test/testclass.cpp b/test/testclass.cpp index c3b9a19b2..ace1d0de5 100644 --- a/test/testclass.cpp +++ b/test/testclass.cpp @@ -3456,7 +3456,7 @@ private: checkConst("class A{\n" "public:\n" "A(){m_strVal="";}\n" - "const std::string strGetString1() const\n" + "const std::string strGetString1()\n" "{return m_strVal.c_str();}\n" "private:\n" "std::string m_strVal;\n"