Fix compiler warning about dead code due to disabled tests

This commit is contained in:
Alexander Mai 2014-04-27 09:48:21 +02:00
parent 17ec0af6a7
commit 0b8dcbb441
1 changed files with 5 additions and 2 deletions

View File

@ -2081,8 +2081,7 @@ private:
void nullpointerStdStream() {
// TODO: Refactor these tests and re-enable them
return;
#if 0
check("void f(std::ifstream& is) {\n"
" char* p = 0;\n"
" is >> p;\n"
@ -2136,6 +2135,10 @@ private:
" std::cout << i;\n" // Its no char* (#4240)
"}", true);
ASSERT_EQUALS("", errout.str());
#else
return;
#endif
}
void functioncall() { // #3443 - function calls