summaryrefslogtreecommitdiff
path: root/test/test16-04.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-21 02:13:25 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-21 02:13:25 +0300
commit97f87df9fe13dcbbf89cd426c30a9aa1661f2e50 (patch)
tree179371f0160c396369eba2523d6083e75b16e829 /test/test16-04.txt
parentefb250b8f28843e1caeefb5780274da57e7aa4d2 (diff)
downloadparanucker-97f87df9fe13dcbbf89cd426c30a9aa1661f2e50.tar.gz
paranucker-97f87df9fe13dcbbf89cd426c30a9aa1661f2e50.tar.bz2
paranucker-97f87df9fe13dcbbf89cd426c30a9aa1661f2e50.tar.xz
paranucker-97f87df9fe13dcbbf89cd426c30a9aa1661f2e50.zip
Add test16.
Diffstat (limited to 'test/test16-04.txt')
-rw-r--r--test/test16-04.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/test16-04.txt b/test/test16-04.txt
new file mode 100644
index 0000000..cff3a29
--- /dev/null
+++ b/test/test16-04.txt
@@ -0,0 +1,28 @@
+test16.c: In function 'func2':
+test16.c:22:13: warning: Using parameter 'ptr1' without checking for null pointer
+ ptr1->val = 200;
+ ^
+test16.c:26:9: warning: Using parameter 'ptr1' without checking for null pointer
+ ptr1->val = 300;
+ ^
+test16.c: In function 'func3':
+test16.c:31:21: warning: Using parameter 'ptr1' without checking for null pointer
+ if (ptr1 || ptr1->val == 100)
+ ^
+test16.c:36:9: warning: Using parameter 'ptr1' without checking for null pointer
+ ptr1->val = 200;
+ ^
+test16.c: In function 'func4':
+test16.c:41:22: warning: Using parameter 'ptr1' without checking for null pointer
+ if (!ptr1 && ptr1->val == 100)
+ ^
+test16.c:46:9: warning: Using parameter 'ptr1' without checking for null pointer
+ ptr1->val = 200;
+ ^
+test16.c: In function 'func6':
+test16.c:67:9: warning: Using parameter 'ptr1' without checking for null pointer
+ ptr1->val = 300;
+ ^
+test16.c:68:9: warning: Using parameter 'ptr2' without checking for null pointer
+ ptr2->val = 400;
+ ^