Lines Matching refs:res
25 const int* res = 0;
29 res = &i;
31 res = 0;
33 return *res; // no warning
40 const int* res = 0;
43 res = &i;
45 res = 0;
47 return *res; // no warning
55 const int* res = 0;
58 res = &i;
60 res = 0;
62 return *res; // no warning
70 const int* res = 0;
73 res = &i;
75 res = 0;
77 return *res; // no warning
106 const int* res = 0;
109 res = &i;
111 res = 0;
113 return *res; // expected-warning {{Dereference of null pointer}}
149 const int* res = 0;
152 res = &i;
154 res = 0;
156 return *res; // no warning
162 const int* res = 0;
165 res = &i;
167 res = 0;
169 return *res; // no warning
194 const int* res = 0;
197 res = &i;
199 res = 0;
204 return *res; // expected-warning{{Dereference of null pointer}}
237 const int* res = 0;
240 res = &i;
242 res = 0;
244 return *res; // expected-warning{{Dereference of null pointer}}