forked from OSchip/llvm-project
17 lines
516 B
Objective-C
17 lines
516 B
Objective-C
void g1(int * _Nonnull);
|
|
|
|
void g2(int (^block)(int, int)); // expected-warning{{block pointer is missing a nullability type specifier}}
|
|
|
|
void g3(const
|
|
id // expected-warning{{missing a nullability type specifier}}
|
|
volatile
|
|
* // expected-warning{{missing a nullability type specifier}}
|
|
);
|
|
|
|
@interface SomeClass
|
|
@property (retain,nonnull) id property1;
|
|
@property (retain,nullable) SomeClass *property2;
|
|
- (nullable SomeClass *)method1;
|
|
- (void)method2:(nonnull SomeClass *)param;
|
|
@end
|