2015-06-25 06:02:08 +08:00
|
|
|
void g1(int * _Nonnull);
|
2015-06-20 02:27:45 +08:00
|
|
|
|
|
|
|
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
|