1 // RUN: %clang_analyze_cc1 -w -analyzer-checker=core,nullability\
2 // RUN: -analyzer-output=text -verify %s
3 // RUN: %clang_analyze_cc1 -w -analyzer-checker=core,nullability\
4 // RUN: -analyzer-output=text -verify %s -fobjc-arc
14 - (void)foo:(Param *_Nonnull)param;
17 @interface Derived : Base
20 @implementation Derived
21 - (void)foo:(Param *)param {
22 // FIXME: Why do we not emit the warning under ARC?
26 // expected-warning@-1{{nil passed to a callee that requires a non-null 1st parameter}}
27 // expected-note@-2 {{nil passed to a callee that requires a non-null 1st parameter}}