diff --git a/test/testclass.cpp b/test/testclass.cpp index 803d74c8c..e2f0c8087 100644 --- a/test/testclass.cpp +++ b/test/testclass.cpp @@ -6291,6 +6291,10 @@ private: " for (const auto & e : array)\n" " foo(e);\n" " }\n" + " void f3() {\n" + " for (decltype(auto) e : array)\n" + " foo(e);\n" + " }\n" "};"); ASSERT_EQUALS("[test.cpp:8]: (style, inconclusive) Technically the member function 'Fred::f2' can be const.\n", errout.str()); } diff --git a/test/testtokenize.cpp b/test/testtokenize.cpp index 63438b58e..e96cb13bf 100644 --- a/test/testtokenize.cpp +++ b/test/testtokenize.cpp @@ -7538,6 +7538,7 @@ private: ASSERT_EQUALS("forx0=y(8