summaryrefslogtreecommitdiff
path: root/test/test17-04.txt
blob: 162a307df52b75b3c29b7ba2bde308e970c260c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
test17.c: In function 'func2':
test17.c:18:14: warning: comparison between pointer and integer
     if (ptr1 == (123, 0))
              ^
test17.c:20:15: warning: Using parameter 'ptr1' without checking for null pointer
     ptr1->val = 100;
               ^
test17.c:20:15: warning: Using field 'ptr1' without checking for null pointer
test17.c: In function 'func3':
test17.c:26:14: warning: comparison between pointer and integer
     if (ptr1 != (123, 0))
              ^
test17.c:28:15: warning: Using parameter 'ptr1' without checking for null pointer
     ptr1->val = 100;
               ^
test17.c:28:15: warning: Using field 'ptr1' without checking for null pointer
test17.c: In function 'func4':
test17.c:40:15: warning: Using parameter 'ptr1' without checking for null pointer
     ptr1->val = 100;
               ^
test17.c:40:15: warning: Using field 'ptr1' without checking for null pointer