1 // RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core -verify %s
4 int overflow_in_memregion(long j
) {
5 for (int l
= 0;; ++l
) {
7 return h
[j
- l
][0]; // no-crash
12 void rdar39593879(long long *d
) {
14 e
= f
= d
[1]; // no-crash
15 for (; d
[e
];) f
-- > 0; // expected-warning{{relational comparison result unused}};