summaryrefslogtreecommitdiff
path: root/test/test11-04.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/test11-04.txt')
-rw-r--r--test/test11-04.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test11-04.txt b/test/test11-04.txt
new file mode 100644
index 0000000..cd4bfc0
--- /dev/null
+++ b/test/test11-04.txt
@@ -0,0 +1,7 @@
+test11.cpp: In member function 'void Object1::func2(Data1*, Data1*)':
+test11.cpp:25:19: warning: Using parameter 'ptr1' without checking for null pointer
+ ptr1->val = 100;
+ ^
+test11.cpp:29:15: warning: Using parameter 'ptr1' without checking for null pointer
+ ptr1->val = 200;
+ ^