1 // RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -analyzer-check-objc-methodsigs -verify %s
3 int printf(const char *, ...);
9 @interface MySub : MyBase{}
13 @implementation MyBase
15 printf("Called MyBase -length;\n");
21 -(double)length{ // expected-warning{{types are incompatible}}
22 printf("Called MySub -length;\n");