1 // RUN: %clang_cc1 -fsyntax-only -Wloop-analysis -verify %s
2 // expected-no-diagnostics
5 - (id)objectAtIndexedSubscript:(unsigned int)idx;
8 // Do not warn on objc classes has objectAtIndexedSubscript method.
13 for (i = 42; i > 0;) // No warnings here