Home | History | Annotate | Download | only in Inputs
      1 void g1(int * _Nonnull);
      2 
      3 void g2(int (^block)(int, int)); // expected-warning{{block pointer is missing a nullability type specifier}}
      4 
      5 void g3(const
      6         id // expected-warning{{missing a nullability type specifier}}
      7         volatile
      8         * // expected-warning{{missing a nullability type specifier}}
      9         );
     10 
     11 @interface SomeClass
     12 @property (retain,nonnull) id property1;
     13 @property (retain,nullable) SomeClass *property2;
     14 - (nullable SomeClass *)method1;
     15 - (void)method2:(nonnull SomeClass *)param;
     16 @property (readonly, weak) SomeClass *property3; // expected-warning{{missing a nullability type specifier}}
     17 @end
     18 
     19 @interface SomeClass ()
     20 @property (readonly, weak) SomeClass *property4; // expected-warning{{missing a nullability type specifier}}
     21 @end
     22