You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/testnullpointer.cpp
+51Lines changed: 51 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -141,6 +141,7 @@ class TestNullPointer : public TestFixture {
141
141
TEST_CASE(nullpointer100); // #11636
142
142
TEST_CASE(nullpointer101); // #11382
143
143
TEST_CASE(nullpointer102);
144
+
TEST_CASE(nullpointer103);
144
145
TEST_CASE(nullpointer_addressOf); // address of
145
146
TEST_CASE(nullpointerSwitch); // #2626
146
147
TEST_CASE(nullpointer_cast); // #4692
@@ -2658,6 +2659,26 @@ class TestNullPointer : public TestFixture {
2658
2659
ASSERT_EQUALS(
2659
2660
"[test.cpp:9] -> [test.cpp:8]: (warning) Either the condition 'ptr->y!=nullptr' is redundant or there is possible null pointer dereference: ptr->y.\n",
0 commit comments