diff --git a/test/testfunctions.cpp b/test/testfunctions.cpp index 5422fd15b..46ab8a447 100644 --- a/test/testfunctions.cpp +++ b/test/testfunctions.cpp @@ -1435,6 +1435,7 @@ private: " else\n" " return {1, 2};\n" "}"); + ASSERT_EQUALS("", errout.str()); } // NRVO check void returnLocalStdMove1() {