summaryrefslogtreecommitdiff
path: root/test/test34-04.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/test34-04.txt')
-rw-r--r--test/test34-04.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/test34-04.txt b/test/test34-04.txt
new file mode 100644
index 0000000..893f9c3
--- /dev/null
+++ b/test/test34-04.txt
@@ -0,0 +1,16 @@
+test34.cpp: In member function 'void Object1::func1(Data1*)':
+test34.cpp:55:15: warning: Using parameter 'ptr1' without checking for null pointer
+ ptr1->val = 200;
+ ^
+test34.cpp: In member function 'void Object1::func2(Data1*)':
+test34.cpp:85:15: warning: Using parameter 'ptr1' without checking for null pointer
+ ptr1->val = 200;
+ ^
+test34.cpp: In member function 'void Object1::func3(Data1*)':
+test34.cpp:97:19: warning: Using parameter 'ptr1' without checking for null pointer
+ if (ptr1->val == 100)
+ ^
+test34.cpp: In member function 'void Object1::func4(Data1*)':
+test34.cpp:133:22: warning: Using parameter 'ptr1' without checking for null pointer
+ while (ptr1->val == 100)
+ ^