We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17ec0af commit 0b8dcbbCopy full SHA for 0b8dcbb
1 file changed
test/testnullpointer.cpp
@@ -2081,8 +2081,7 @@ class TestNullPointer : public TestFixture {
2081
2082
void nullpointerStdStream() {
2083
// TODO: Refactor these tests and re-enable them
2084
- return;
2085
-
+#if 0
2086
check("void f(std::ifstream& is) {\n"
2087
" char* p = 0;\n"
2088
" is >> p;\n"
@@ -2136,6 +2135,10 @@ class TestNullPointer : public TestFixture {
2136
2135
" std::cout << i;\n" // Its no char* (#4240)
2137
"}", true);
2138
ASSERT_EQUALS("", errout.str());
+#else
2139
+ return;
2140
+#endif
2141
+
2142
}
2143
2144
void functioncall() { // #3443 - function calls
0 commit comments