missingReturn; Add missing ASSERT_EQUALS in test
This commit is contained in:
parent
c6f7a78ebb
commit
8f1cb2304f
|
@ -1435,6 +1435,7 @@ private:
|
||||||
" else\n"
|
" else\n"
|
||||||
" return {1, 2};\n"
|
" return {1, 2};\n"
|
||||||
"}");
|
"}");
|
||||||
|
ASSERT_EQUALS("", errout.str());
|
||||||
}
|
}
|
||||||
// NRVO check
|
// NRVO check
|
||||||
void returnLocalStdMove1() {
|
void returnLocalStdMove1() {
|
||||||
|
|
Loading…
Reference in New Issue