missingReturn; Add missing ASSERT_EQUALS in test

This commit is contained in:
Daniel Marjamäki 2021-07-10 08:45:04 +02:00
parent c6f7a78ebb
commit 8f1cb2304f
1 changed files with 1 additions and 0 deletions

View File

@ -1435,6 +1435,7 @@ private:
" else\n"
" return {1, 2};\n"
"}");
ASSERT_EQUALS("", errout.str());
}
// NRVO check
void returnLocalStdMove1() {