summaryrefslogtreecommitdiff
path: root/test/test07-04.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/test07-04.txt')
-rw-r--r--test/test07-04.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test07-04.txt b/test/test07-04.txt
new file mode 100644
index 0000000..4585608
--- /dev/null
+++ b/test/test07-04.txt
@@ -0,0 +1,8 @@
+test07.cpp: In member function 'void Object1::func2(int*)':
+test07.cpp:27:18: warning: Using parameter 'aptr' without checking for null pointer
+ *aptr = 0;
+ ^
+test07.cpp: In member function 'void Object1::func5(Struct1*)':
+test07.cpp:43:15: warning: Using parameter 'sptr' without checking for null pointer
+ sptr->num = 0;
+ ^