| // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s |
| return index; // expected-error {{instance variable 'index' accessed in class method}} |
| return index; // expected-warning {{implicitly declaring library function 'index'}} \ |
| // expected-note {{include the header <strings.h> or explicitly provide a declaration for 'index'}} \ |
| // expected-warning {{incompatible pointer to integer conversion returning}} |
| return index; // expected-warning {{incompatible pointer to integer conversion returning}} |