summaryrefslogtreecommitdiff
path: root/test/test5-03.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-10 02:18:36 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-10 02:18:36 +0300
commit899dca23fc159f87954b01910f52543455b6abf7 (patch)
tree82c20d498a306dcdb30cfd6c6a4d1142eb802e26 /test/test5-03.txt
parentca0cde9f4f9760ed9dafeaf9c3bf72f634e82a79 (diff)
downloadparanucker-899dca23fc159f87954b01910f52543455b6abf7.tar.gz
paranucker-899dca23fc159f87954b01910f52543455b6abf7.tar.bz2
paranucker-899dca23fc159f87954b01910f52543455b6abf7.tar.xz
paranucker-899dca23fc159f87954b01910f52543455b6abf7.zip
Improve test5.c. Update test results.
Diffstat (limited to 'test/test5-03.txt')
-rw-r--r--test/test5-03.txt28
1 files changed, 27 insertions, 1 deletions
diff --git a/test/test5-03.txt b/test/test5-03.txt
index 506dead..0ac71e5 100644
--- a/test/test5-03.txt
+++ b/test/test5-03.txt
@@ -1,4 +1,30 @@
test5.c: In function 'void func1(int, int*, char)':
-test5.c:6:13: warning: Using variable without check for NULL
+test5.c:12:13: warning: Using variable without check for NULL
*b = 100;
^
+test5.c: In function 'void func2(int, int*, char)':
+test5.c:17:9: warning: Using variable without check for NULL
+ *(1 + b) = 200;
+ ^
+test5.c: In function 'void func3(int, int*, char)':
+test5.c:22:9: warning: Using variable without check for NULL
+ *(1 + (1 + b)) = 300;
+ ^
+test5.c: In function 'void func5(int, int*, char)':
+test5.c:28:12: warning: Using variable without check for NULL
+ *(var1 + b) = 400;
+ ^
+test5.c: In function 'void func6(int, int*, char)':
+test5.c:33:10: warning: Using variable without check for NULL
+ int *var2 = b;
+ ^
+test5.c:33:10: warning: Using variable without check for NULL
+test5.c:33:10: warning: Using variable without check for NULL
+test5.c:33:10: warning: Using variable without check for NULL
+test5.c: In function 'void func7(int, int*, char)':
+test5.c:39:20: warning: Using variable without check for NULL
+ int *var3 = 12 + b;
+ ^
+test5.c:39:20: warning: Using variable without check for NULL
+test5.c:39:20: warning: Using variable without check for NULL
+test5.c:39:20: warning: Using variable without check for NULL