1 // RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-config ipa=dynamic-bifurcate -analyzer-config objc-inlining=false -verify %s
2 // expected-no-diagnostics
4 typedef signed char BOOL;
5 typedef struct objc_class *Class;
6 typedef struct objc_object {
9 @protocol NSObject - (BOOL)isEqual:(id)object; @end
10 @interface NSObject <NSObject> {}
19 // Vanila: ObjC class method is called by name.
20 @interface MyParent : NSObject
23 @interface MyClass : MyParent
26 @implementation MyClass
27 + (int)testClassMethodByName {
28 int y = [MyClass getInt];
29 return 5/y; // no-warning